mirror of
https://github.com/zadam/trilium.git
synced 2025-11-11 15:55:52 +01:00
when saving Saved Search or SQL console, move it to their home (i.e. remove from hidden subtree)
This commit is contained in:
@@ -77,7 +77,7 @@ class Branch extends AbstractEntity {
|
||||
this.becca.childParentToBranch[`${this.noteId}-${this.parentNoteId}`] = this;
|
||||
}
|
||||
|
||||
/** @return {Note} */
|
||||
/** @returns {Note} */
|
||||
get childNote() {
|
||||
if (!(this.noteId in this.becca.notes)) {
|
||||
// entities can come out of order in sync, create skeleton which will be filled later
|
||||
@@ -91,7 +91,7 @@ class Branch extends AbstractEntity {
|
||||
return this.childNote;
|
||||
}
|
||||
|
||||
/** @return {Note} */
|
||||
/** @returns {Note} */
|
||||
get parentNote() {
|
||||
if (!(this.parentNoteId in this.becca.notes)) {
|
||||
// entities can come out of order in sync, create skeleton which will be filled later
|
||||
|
||||
Reference in New Issue
Block a user