diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2024-12-12 19:08:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-12 19:08:07 +0100 |
commit | 5fd288a915018911acf88d91f0e5a3b03ac1cc78 (patch) | |
tree | 24dc1fc8a648d65ce4a11bc4cf2bc6d25040dade /apps | |
parent | d8c9c0ca2e934fe698e0901a4f87ba8b0afa6455 (diff) | |
parent | 7994eb1f1d156458431e2b16b089a4c26ef054df (diff) | |
download | nextcloud-server-5fd288a915018911acf88d91f0e5a3b03ac1cc78.tar.gz nextcloud-server-5fd288a915018911acf88d91f0e5a3b03ac1cc78.zip |
Merge pull request #49752 from nextcloud/backport/49693/stable30
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files/src/components/FileEntry/FileEntryName.vue | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/files/src/components/FileEntry/FileEntryName.vue b/apps/files/src/components/FileEntry/FileEntryName.vue index 34b134f39ba..446b8c77739 100644 --- a/apps/files/src/components/FileEntry/FileEntryName.vue +++ b/apps/files/src/components/FileEntry/FileEntryName.vue @@ -241,6 +241,10 @@ export default defineComponent({ } const oldName = this.source.basename + if (newName === oldName) { + this.stopRenaming() + return + } try { const status = await this.renamingStore.rename() |