clear count

This commit is contained in:
Peter Maquiran
2023-01-30 16:27:33 +01:00
parent 261478a204
commit 49142391e9
8 changed files with 15 additions and 24 deletions
+1 -7
View File
@@ -30,17 +30,11 @@ export class ExpedientegdStoreService {
return this._list
}
get count() {
return this._count || 0
}
set count(value: number) {
this._count = value
this.save()
return this._list.length || 0
}
reset(eventsList: any) {
this._list = eventsList
this.count = this._list.length
this.save()
}