mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 20:06:08 +01:00
link map improvements
This commit is contained in:
@@ -94,6 +94,10 @@ function getLinkMap(req) {
|
||||
.map(note => note.noteId)
|
||||
);
|
||||
|
||||
if (mapRootNote.type === 'search') {
|
||||
noteIds.delete(mapRootNote.noteId);
|
||||
}
|
||||
|
||||
for (const noteId of getNeighbors(mapRootNote, 3)) {
|
||||
noteIds.add(noteId);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user