mirror of
https://github.com/zadam/trilium.git
synced 2025-02-24 23:13:43 +08:00
avoid ugly error in the logs, #1778
This commit is contained in:
parent
7e3d424e23
commit
65280d5ba3
1 changed files with 1 additions and 1 deletions
|
@ -233,7 +233,7 @@ async function findSimilarNotes(noteId) {
|
|||
|
||||
const baseNote = noteCache.notes[noteId];
|
||||
|
||||
if (!baseNote) {
|
||||
if (!baseNote || !baseNote.utcDateCreated) {
|
||||
return [];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue