mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
avoid ugly error in the logs, #1778
This commit is contained in:
parent
7e3d424e23
commit
65280d5ba3
@ -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 [];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user