aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/src
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files/src')
-rw-r--r--apps/files/src/store/renaming.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files/src/store/renaming.ts b/apps/files/src/store/renaming.ts
index a04ae5acbd6..fc61be3bd3b 100644
--- a/apps/files/src/store/renaming.ts
+++ b/apps/files/src/store/renaming.ts
@@ -88,6 +88,8 @@ export const useRenamingStore = defineStore('renaming', () => {
})
// Update mime type if extension changed
+ // as other related informations might have changed
+ // on the backend but it is really hard to know on the front
if (oldExtension !== newExtension) {
node = await fetchNode(node.path)
}