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