fix removing attrs from UI

This commit is contained in:
zadam 2020-09-21 23:08:39 +02:00
parent 0e795b2978
commit 12943ca151
2 changed files with 4 additions and 4 deletions

View file

@ -499,8 +499,8 @@ export default class AttributeEditorWidget extends TabAwareWidget {
return treeService.getSomeNotePath(note);
}
updateAttributeList(attributes) {
this.renderOwnedAttributes(attributes, false);
async updateAttributeList(attributes) {
await this.renderOwnedAttributes(attributes, false);
}
entitiesReloadedEvent({loadResults}) {

View file

@ -234,8 +234,8 @@ export default class AttributeListWidget extends TabAwareWidget {
await this.attributeEditorWidget.refresh();
}
updateAttributeListCommand({attributes}) {
this.attributeEditorWidget.updateAttributeList(attributes);
async updateAttributeListCommand({attributes}) {
await this.attributeEditorWidget.updateAttributeList(attributes);
}
/**