mirror of
https://github.com/zadam/trilium.git
synced 2025-11-17 10:40:41 +01:00
fixes for undefined parent note #3066
This commit is contained in:
@@ -281,7 +281,7 @@ async function findSimilarNotes(noteId) {
|
||||
}
|
||||
|
||||
function gatherAncestorRewards(note) {
|
||||
if (ancestorNoteIds.has(note.noteId)) {
|
||||
if (!note || ancestorNoteIds.has(note.noteId)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user