edit function repaired
This commit is contained in:
parent
baa53809c2
commit
39b1724a66
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user