Skip to content

Commit 359b6f7

Browse files
authored
chore(files): adjust renaming action comment
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
1 parent ec2f2a5 commit 359b6f7

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

apps/files/src/store/renaming.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ export const useRenamingStore = defineStore('renaming', () => {
8888
})
8989

9090
// Update mime type if extension changed
91+
// as other related informations might have changed
92+
// on the backend but it is really hard to know on the front
9193
if (oldExtension !== newExtension) {
9294
node = await fetchNode(node.path)
9395
}

0 commit comments

Comments
 (0)