added new label "sorted" which will keep children notes alphabetically sorted, fixes #82

This commit is contained in:
azivner
2018-08-01 09:26:02 +02:00
parent 9452fc236b
commit 2d24bf81dd
12 changed files with 100 additions and 10 deletions

View File

@@ -30,6 +30,10 @@ class Note extends Entity {
catch(e) {}
}
isRoot() {
return this.noteId === 'root';
}
isJson() {
return this.mime === "application/json";
}