From 39b1724a6657f7cfab9f9849e8f454c6f55b8df5 Mon Sep 17 00:00:00 2001 From: Alexandre_BRAVO <134793082+AlexandreBRAVO@users.noreply.github.com> Date: Fri, 22 Nov 2024 14:11:45 +0100 Subject: [PATCH] edit function repaired --- src/components/FileTable.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/FileTable.vue b/src/components/FileTable.vue index 9732f29..b075852 100644 --- a/src/components/FileTable.vue +++ b/src/components/FileTable.vue @@ -343,7 +343,7 @@ export default { this.editDialogDisabled = true; }, async updateFileName(names){ - if(names[0] !== names[1]){ + if(names.initialFileName !== names.newFileName){ const client = getClient() try{ const oldName = this.root_path + this.current_dir + names.initialFileName;