mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-22 22:49:45 +01:00
Revert "feat: add hypersearch for searching"
This reverts commit 5362e54428.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user