mirror of
https://github.com/zadam/trilium.git
synced 2025-11-14 01:05:49 +01:00
note cache fixes, #1805
This commit is contained in:
@@ -31,7 +31,7 @@ function getNotesAndBranchesAndAttributes(noteIds) {
|
||||
for (const attr of note.ownedAttributes) {
|
||||
collectedAttributeIds.add(attr.attributeId);
|
||||
|
||||
if (attr.type === 'relation' && attr.name === 'template') {
|
||||
if (attr.type === 'relation' && attr.name === 'template' && attr.targetNote) {
|
||||
collectEntityIds(attr.targetNote);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user