display properly relations in note map even if they are not in the subtree, closes #2251

This commit is contained in:
zadam
2021-10-21 22:52:52 +02:00
parent ee1b377bc2
commit 50b7063811
3 changed files with 75 additions and 11 deletions

View File

@@ -764,8 +764,8 @@ class Note extends AbstractEntity {
}
/** @return {String[]} */
getSubtreeNoteIds() {
return this.getSubtreeNotes().map(note => note.noteId);
getSubtreeNoteIds(includeArchived = true) {
return this.getSubtreeNotes(includeArchived).map(note => note.noteId);
}
getDescendantNoteIds() {