mirror of
https://github.com/TriliumNext/Notes.git
synced 2026-03-23 17:41:31 -05: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];
|
||||
|
||||
if (!baseNote) {
|
||||
if (!baseNote || !baseNote.utcDateCreated) {
|
||||
return [];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user