Revert "feat: add hypersearch for searching"

This reverts commit 5362e54428.
This commit is contained in:
thecodrr
2020-11-16 15:01:16 +05:00
parent c81c0feda8
commit caaa808174
7 changed files with 37 additions and 94 deletions

View File

@@ -19,8 +19,8 @@ export default class CachedCollection extends IndexedCollection {
this.map.clear();
}
async updateItem(item, index = true) {
await super.updateItem(item, index);
async updateItem(item) {
await super.updateItem(item);
this.map.set(item.id, item);
EV.publish("db:write", item);
}