mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 19:36:12 +01:00
add back .isDeleted property to becca's note, branch and attribute entities for BC, fixes #2268
This commit is contained in:
@@ -101,6 +101,10 @@ class Branch extends AbstractEntity {
|
||||
return this.becca.notes[this.parentNoteId];
|
||||
}
|
||||
|
||||
get isDeleted() {
|
||||
return !(this.branchId in this.becca.branches);
|
||||
}
|
||||
|
||||
beforeSaving() {
|
||||
if (this.notePosition === undefined || this.notePosition === null) {
|
||||
// TODO finding new position can be refactored into becca
|
||||
|
||||
Reference in New Issue
Block a user