properly handle saved search virtual branches during reloads, fixes #1301

This commit is contained in:
zadam
2020-10-20 22:33:38 +02:00
parent a9f49e7f25
commit 00d860bfae
4 changed files with 53 additions and 32 deletions

View File

@@ -21,6 +21,8 @@ class Branch {
this.isExpanded = !!row.isExpanded;
/** @param {boolean} */
this.isDeleted = !!row.isDeleted;
/** @param {boolean} */
this.fromSearchNote = !!row.fromSearchNote;
}
/** @returns {NoteShort} */
@@ -48,4 +50,4 @@ class Branch {
}
}
export default Branch;
export default Branch;