mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 09:58:32 +02:00
fix
This commit is contained in:
parent
4596d56ae8
commit
513689b175
@ -78,7 +78,8 @@ const noteTree = (function() {
|
||||
}
|
||||
|
||||
function getNodesByNoteId(noteId) {
|
||||
return getTree().getNodesByRef(noteId);
|
||||
const list = getTree().getNodesByRef(noteId);
|
||||
return list ? list : []; // if no nodes with this refKey are found, fancy tree returns null
|
||||
}
|
||||
|
||||
function setPrefix(noteTreeId, prefix) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user