Simplify folder name editing

This commit is contained in:
the-djmaze 2023-02-21 14:26:16 +01:00
parent 938c209869
commit 81d521c562
3 changed files with 10 additions and 10 deletions

View file

@ -465,6 +465,14 @@ export class FolderModel extends AbstractModel {
});
}
edit() {
this.canBeEdited() && this.editing(true);
}
unedit() {
this.editing(false);
}
/**
* For url safe '/#/mailbox/...' path
*/