mirror of
https://github.com/zadam/trilium.git
synced 2024-12-29 11:24:45 +08:00
fix removing attrs from UI
This commit is contained in:
parent
0e795b2978
commit
12943ca151
2 changed files with 4 additions and 4 deletions
|
@ -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}) {
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue