edit function repaired

This commit is contained in:
Alexandre_BRAVO 2024-11-22 14:11:45 +01:00
parent baa53809c2
commit 39b1724a66

View File

@ -343,7 +343,7 @@ export default {
this.editDialogDisabled = true; this.editDialogDisabled = true;
}, },
async updateFileName(names){ async updateFileName(names){
if(names[0] !== names[1]){ if(names.initialFileName !== names.newFileName){
const client = getClient() const client = getClient()
try{ try{
const oldName = this.root_path + this.current_dir + names.initialFileName; const oldName = this.root_path + this.current_dir + names.initialFileName;