mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 03:16:11 +01:00
added "inherit" relation, #3493
This commit is contained in:
@@ -32,7 +32,7 @@ function getNotesAndBranchesAndAttributes(noteIds) {
|
||||
for (const attr of note.ownedAttributes) {
|
||||
collectedAttributeIds.add(attr.attributeId);
|
||||
|
||||
if (attr.type === 'relation' && attr.name === 'template' && attr.targetNote) {
|
||||
if (attr.type === 'relation' && ['template', 'inherit'].includes(attr.name) && attr.targetNote) {
|
||||
collectEntityIds(attr.targetNote);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user