mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 05:16:07 +00:00
Success message
This commit is contained in:
@@ -8,7 +8,7 @@ import { AES, enc, SHA1 } from 'crypto-js'
|
||||
export class DespachoStoreService {
|
||||
|
||||
// main data
|
||||
private _list: Event[]
|
||||
private _list: [] = []
|
||||
// local storage keyName
|
||||
private keyName: string;
|
||||
private _count = 0
|
||||
@@ -27,8 +27,9 @@ export class DespachoStoreService {
|
||||
}
|
||||
|
||||
get list() {
|
||||
return this._list
|
||||
return this._list || []
|
||||
}
|
||||
|
||||
get count() {
|
||||
return this._count
|
||||
}
|
||||
|
||||
@@ -11,7 +11,7 @@ import { AES, enc, SHA1 } from 'crypto-js'
|
||||
class ExpedienteStorageServiceService {
|
||||
|
||||
// main data
|
||||
private _list: Event[]
|
||||
private _list: Event[] = []
|
||||
private _count = 0
|
||||
// local storage keyName
|
||||
private keyName: string;
|
||||
|
||||
@@ -6,7 +6,7 @@ import { AES, enc, SHA1 } from 'crypto-js'
|
||||
})
|
||||
export class LocalstoreService {
|
||||
|
||||
private prefix = 'v9-'
|
||||
private prefix = 'v10-'
|
||||
|
||||
constructor() {
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ import { AES, enc, SHA1 } from 'crypto-js'
|
||||
export class ToDayEventStorageService {
|
||||
|
||||
// main data
|
||||
private _eventsList: Event[]
|
||||
private _eventsList: Event[] = []
|
||||
// local storage keyName
|
||||
private keyName: string;
|
||||
private _count = 0
|
||||
|
||||
Reference in New Issue
Block a user