Skip to content

Build your personal knowledge base with Trilium Notes

fix(promoted_attributes): not reacting to inheritable changes

Elian Doran559c654fbb1b
diff --git a/apps/client/src/services/attributes.ts b/apps/client/src/services/attributes.ts
index 694eb1b02a..4559c8f8b0 100644
--- a/apps/client/src/services/attributes.ts
+++ b/apps/client/src/services/attributes.ts
@@ -126,9 +126,7 @@ function isAffecting(attrRow: AttributeRow, affectedNote: FNote | null | undefin
}
}
- // TODO: This doesn't seem right.
- //@ts-ignore
- if (this.isInheritable) {
+ if (attrRow.isInheritable) {
for (const owningNote of owningNotes) {
if (owningNote.hasAncestor(attrNote.noteId, true)) {
return true;