aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/files/src/components/FileEntry/FileEntryName.vue11
1 files changed, 7 insertions, 4 deletions
diff --git a/apps/files/src/components/FileEntry/FileEntryName.vue b/apps/files/src/components/FileEntry/FileEntryName.vue
index 6f31727fbc2..87859de353a 100644
--- a/apps/files/src/components/FileEntry/FileEntryName.vue
+++ b/apps/files/src/components/FileEntry/FileEntryName.vue
@@ -185,10 +185,13 @@ export default Vue.extend({
* in the input, without the extension.
* @param renaming
*/
- isRenaming(renaming: boolean) {
- if (renaming) {
- this.startRenaming()
- }
+ isRenaming: {
+ immediate: true,
+ handler(renaming: boolean) {
+ if (renaming) {
+ this.startRenaming()
+ }
+ },
},
},