Skip to content

Commit

Permalink
fix(files): apply the renaming when leaving the input field
Browse files Browse the repository at this point in the history
Refs: #42689

Signed-off-by: Raphaël Jakse <raphael.git@jakse.fr>
  • Loading branch information
Raphaël Jakse committed Apr 14, 2024
1 parent 42c36c1 commit 581b5a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/files/src/components/FileEntry/FileEntryName.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down

0 comments on commit 581b5a1

Please sign in to comment.