mirror of
https://github.com/zadam/trilium.git
synced 2025-11-16 10:15:52 +01:00
avoid ugly error in the logs, #1778
This commit is contained in:
@@ -233,7 +233,7 @@ async function findSimilarNotes(noteId) {
|
|||||||
|
|
||||||
const baseNote = noteCache.notes[noteId];
|
const baseNote = noteCache.notes[noteId];
|
||||||
|
|
||||||
if (!baseNote) {
|
if (!baseNote || !baseNote.utcDateCreated) {
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user