This commit is contained in:
Peter Maquiran
2021-07-27 16:53:37 +01:00
parent 8eab9e67d7
commit 4fcafe1fd9
5 changed files with 56 additions and 91 deletions
@@ -20,7 +20,7 @@ export class ToDayEventStorageService {
this.keyName = (SHA1(this.constructor.name+ 'home/eventSource')).toString()
setTimeout(()=>{
setTimeout(() => {
let restore = localstoreService.get(this.keyName, {})
this._eventsList = restore.eventsList || []
this._count = this._eventsList.length || 0