navigation dans favoris et correction edition dans sous dossiers
This commit is contained in:
parent
80ede4715a
commit
48e5280a57
@ -612,7 +612,6 @@ export default {
|
|||||||
const oldName = this.root_path + this.current_dir + '/' + names.initialFileName;
|
const oldName = this.root_path + this.current_dir + '/' + names.initialFileName;
|
||||||
const newName = this.root_path + this.current_dir + '/' + names.newFileName;
|
const newName = this.root_path + this.current_dir + '/' + names.newFileName;
|
||||||
let alreadyExists = await this.elemtAlreadyExists(newName);
|
let alreadyExists = await this.elemtAlreadyExists(newName);
|
||||||
console.log(names)
|
|
||||||
if (!alreadyExists) {
|
if (!alreadyExists) {
|
||||||
await client.moveFile(oldName, newName);
|
await client.moveFile(oldName, newName);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user