options fixes

This commit is contained in:
zadam
2022-12-08 15:29:14 +01:00
parent 44997f5cd1
commit c22b6b29e0
4 changed files with 14 additions and 7 deletions

View File

@@ -1332,6 +1332,10 @@ class Note extends AbstractEntity {
return this.type === 'launcher' || ['lbRoot', 'lbAvailableShortcuts', 'lbVisibleShortcuts'];
}
isOptions() {
return this.noteId.startsWith("options");
}
get isDeleted() {
return !(this.noteId in this.becca.notes) || this.isBeingDeleted;
}