mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-09-04 14:41:42 +08: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