mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 05:16:07 +00:00
Store null save
This commit is contained in:
@@ -21,7 +21,7 @@ export class DespachosPageStoreService {
|
||||
setTimeout(()=>{
|
||||
let restore = localstoreService.get(this.keyName, {})
|
||||
this._list = restore.eventsList || []
|
||||
this._count = restore.count || 0
|
||||
this._count = this._list.length || 0
|
||||
}, 10)
|
||||
|
||||
}
|
||||
|
||||
@@ -21,7 +21,7 @@ constructor() {
|
||||
setTimeout(()=>{
|
||||
let restore = localstoreService.get(this.keyName, {})
|
||||
this._list = restore.eventsList || []
|
||||
this._count = restore.count.length || 0
|
||||
this._count = this._list.length || 0
|
||||
}, 10)
|
||||
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@ import { AES, enc, SHA1 } from 'crypto-js'
|
||||
})
|
||||
export class LocalstoreService {
|
||||
|
||||
private prefix = 'v10-'
|
||||
private prefix = 'v11-'
|
||||
|
||||
constructor() {
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ constructor() {
|
||||
setTimeout(()=>{
|
||||
let restore = localstoreService.get(this.keyName, {})
|
||||
this._list = restore.eventsList || []
|
||||
this._count = restore.count.length || 0
|
||||
this._count = this._list.length || 0
|
||||
}, 10)
|
||||
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@ export class ToDayEventStorageService {
|
||||
setTimeout(()=>{
|
||||
let restore = localstoreService.get(this.keyName, {})
|
||||
this._eventsList = restore.eventsList || []
|
||||
this._count = restore.count || 0
|
||||
this._count = this._eventsList.length || 0
|
||||
}, 10)
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user