mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 03:16:11 +01:00
fix saving & refreshing attributes across compoments
This commit is contained in:
@@ -432,4 +432,10 @@ export default class AttributeEditorWidget extends TabAwareWidget {
|
||||
updateAttributeList(attributes) {
|
||||
this.renderOwnedAttributes(attributes, false);
|
||||
}
|
||||
|
||||
entitiesReloadedEvent({loadResults}) {
|
||||
if (loadResults.getAttributes(this.componentId).find(attr => attr.isAffecting(this.note))) {
|
||||
this.refresh();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user