fixes and optimizations

This commit is contained in:
zadam
2020-12-14 22:12:26 +01:00
parent 8b99f065d5
commit c949dcb449
11 changed files with 102 additions and 23 deletions

View File

@@ -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) {