mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 19:05:59 +01:00
fixes and optimizations
This commit is contained in:
@@ -119,7 +119,7 @@ eventService.subscribe([eventService.ENTITY_CHANGED, eventService.ENTITY_DELETED
|
||||
delete noteCache.attributes[attributeId];
|
||||
|
||||
if (attr) {
|
||||
delete noteCache.attributeIndex[`${attr.type}-${attr.name}`];
|
||||
delete noteCache.attributeIndex[`${attr.type}-${attr.name.toLowerCase()}`];
|
||||
}
|
||||
}
|
||||
else if (attributeId in noteCache.attributes) {
|
||||
|
||||
Reference in New Issue
Block a user