fix(promoted_attributes): not reacting to inheritable changes

This commit is contained in:
Elian Doran 2025-12-04 09:44:54 +02:00
parent 01a03e3e97
commit 559c654fbb
No known key found for this signature in database

View File

@ -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;