Merge remote-tracking branch 'origin/stable'

# Conflicts:
#	package.json
This commit is contained in:
zadam
2021-12-04 13:48:35 +01:00
3 changed files with 25 additions and 5 deletions

View File

@@ -43,6 +43,11 @@ function getNeighbors(note, depth) {
}
const targetNote = relation.getTargetNote();
if (targetNote.hasLabel('excludeFromNoteMap')) {
continue;
}
retNoteIds.push(targetNote.noteId);
for (const noteId of getNeighbors(targetNote, depth - 1)) {
@@ -57,6 +62,11 @@ function getNeighbors(note, depth) {
}
const sourceNote = relation.getNote();
if (sourceNote.hasLabel('excludeFromNoteMap')) {
continue;
}
retNoteIds.push(sourceNote.noteId);
for (const noteId of getNeighbors(sourceNote, depth - 1)) {