mirror of
https://github.com/zadam/trilium.git
synced 2025-11-18 03:00:41 +01:00
got rid of .isDeleted on froca entities (the property is not available there)
This commit is contained in:
@@ -312,7 +312,9 @@ export default class SearchDefinitionWidget extends NoteContextAwareWidget {
|
||||
|
||||
entitiesReloadedEvent({loadResults}) {
|
||||
// only refreshing deleted attrs, otherwise components update themselves
|
||||
if (loadResults.getAttributeRows().find(attr => attr.type === 'label' && attr.name === 'action' && attr.isDeleted)) {
|
||||
if (loadResults.getAttributeRows().find(attrRow =>
|
||||
attrRow.type === 'label' && attrRow.name === 'action' && attrRow.isDeleted)) {
|
||||
|
||||
this.refresh();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user