mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 03:16:11 +01:00
fixes in tree loading
This commit is contained in:
@@ -51,12 +51,12 @@ class TreeCache {
|
||||
if (!this.notes[noteId]) {
|
||||
messagingService.logError(`Can't find note ${noteId}`);
|
||||
|
||||
return `[unknown ${noteId}]`;
|
||||
return null;
|
||||
}
|
||||
else {
|
||||
return this.notes[noteId];
|
||||
}
|
||||
});
|
||||
}).filter(note => note !== null);
|
||||
}
|
||||
|
||||
/** @return NoteShort */
|
||||
|
||||
Reference in New Issue
Block a user