import fixes

This commit is contained in:
zadam
2020-07-27 23:40:14 +02:00
parent c92526372c
commit c9cbc2db02
4 changed files with 8 additions and 5 deletions

View File

@@ -22,8 +22,6 @@ class NoteCache {
this.attributeIndex = {};
this.loaded = false;
this.loadedResolve = null;
this.loadedPromise = new Promise(res => {this.loadedResolve = res;});
}
/** @return {Attribute[]} */

View File

@@ -154,3 +154,7 @@ eventService.subscribe([eventService.ENTITY_CHANGED, eventService.ENTITY_DELETED
eventService.subscribe(eventService.ENTER_PROTECTED_SESSION, () => {
noteCache.decryptProtectedNotes();
});
module.exports = {
load
};