fix(files): apply the renaming when leaving the input field

Refs: #42689

Signed-off-by: Raphaël Jakse <raphael.git@jakse.fr>
This commit is contained in:
Raphaël Jakse 2024-04-14 10:14:58 +02:00 committed by skjnldsv
parent 8694675a26
commit c53e4a8b96
3 changed files with 4 additions and 4 deletions

View file

@ -22,7 +22,7 @@
<template>
<!-- Rename input -->
<form v-if="isRenaming"
v-on-click-outside="stopRenaming"
v-on-click-outside="onRename"
:aria-label="t('files', 'Rename file')"
class="files-list__row-rename"
@submit.prevent.stop="onRename">

4
dist/files-main.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long