mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 18:08:33 +02:00
fix removing attrs from UI
This commit is contained in:
parent
0e795b2978
commit
12943ca151
@ -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}) {
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user