mirror of
https://github.com/overte-org/overte.git
synced 2025-04-15 16:02:08 +02:00
Optimize folder actions.
This commit is contained in:
parent
5440508254
commit
aa526445a6
1 changed files with 4 additions and 0 deletions
|
@ -1108,6 +1108,8 @@ export default {
|
|||
for (var i = 0; i < this.items.length; i++) {
|
||||
if (this.items[i].uuid == uuid) {
|
||||
this.items[i].name = this.editFolderDialog.data.name;
|
||||
|
||||
return;
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -1148,6 +1150,8 @@ export default {
|
|||
for (var i = 0; i < this.items.length; i++) {
|
||||
if (this.items[i].uuid == uuid) {
|
||||
this.items.splice(i, 1);
|
||||
|
||||
return;
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue