mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 18:08:33 +02:00
refresh promoted attributes when change detected
This commit is contained in:
parent
e70c862e72
commit
11b73b79ed
@ -267,4 +267,10 @@ export default class PromotedAttributesWidget extends TabAwareWidget {
|
|||||||
|
|
||||||
$attr.prop("attribute-id", result.attributeId);
|
$attr.prop("attribute-id", result.attributeId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
entitiesReloadedEvent({loadResults}) {
|
||||||
|
if (loadResults.getAttributes().find(attr => attr.noteId === this.noteId)) {
|
||||||
|
this.refresh();
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user