mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
Fix counting
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import { Component, OnInit, Input, Output, EventEmitter } from '@angular/core';
|
||||
import { AnimationController, ModalController } from '@ionic/angular';
|
||||
import { SafeResourceUrl } from '@angular/platform-browser';
|
||||
import { PublicationsService } from 'src/app/services/publications.service';
|
||||
import { Publication } from 'src/app/models/publication';
|
||||
|
||||
@@ -27,10 +27,10 @@ export class EventoaprovacaoStoreService {
|
||||
let restoreMd = localstoreService.get(this.keyNamemd, {})
|
||||
let restorePr = localstoreService.get(this.keyNamepr, {})
|
||||
|
||||
this._listPr = restorePr.lisMd || []
|
||||
this._listMd = restoreMd.listPr || []
|
||||
this._listPr = restorePr.listPr || []
|
||||
this._listMd = restoreMd.lisMd || []
|
||||
this._countMd = parseInt(restoreMd.countListMd) || 0
|
||||
this._countPr = parseInt(restoreMd.countListPr) || 0
|
||||
this._countPr = parseInt(restorePr.countListPr) || 0
|
||||
this._count = (this._countMd + this._countPr) || 0
|
||||
}, 10)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user