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); return treeService.getSomeNotePath(note);
} }
updateAttributeList(attributes) { async updateAttributeList(attributes) {
this.renderOwnedAttributes(attributes, false); await this.renderOwnedAttributes(attributes, false);
} }
entitiesReloadedEvent({loadResults}) { entitiesReloadedEvent({loadResults}) {

View File

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