fix refreshing ribbon titles upon entity change, closes #2274

This commit is contained in:
zadam
2021-10-26 20:14:56 +02:00
parent 6135de8507
commit 7ec20f9384
2 changed files with 4 additions and 7 deletions

View File

@@ -297,9 +297,6 @@ export default class PromotedAttributesWidget extends NoteContextAwareWidget {
entitiesReloadedEvent({loadResults}) {
if (loadResults.getAttributes(this.componentId).find(attr => attributeService.isAffecting(attr, this.note))) {
this.refresh();
this.getTitle(this.note);
this.triggerCommand('refreshRibbonContainer');
}
}
}