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 authored and raphj committed Apr 15, 2024
1 parent 10fc78a commit f16a077
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 f16a077

Please sign in to comment.