diff --git a/Mohem/src/app/notification/work-list-rfc/work-list-rfc.component.ts b/Mohem/src/app/notification/work-list-rfc/work-list-rfc.component.ts index b18b1bba..15fe102f 100644 --- a/Mohem/src/app/notification/work-list-rfc/work-list-rfc.component.ts +++ b/Mohem/src/app/notification/work-list-rfc/work-list-rfc.component.ts @@ -125,11 +125,14 @@ export class WorkListRfcComponent implements OnInit { if (this.cs.validResponse(result)) { if (result.MessageStatus == 1) { this.cs.sharedService.setSharedData(true, 'loadWorkList'); + let itemType = this.getPassNotificationDetails.ITEM_TYPE; + if (this.cs.filterKeys[itemType] != 0) { + this.cs.filterKeys[itemType] = (this.cs.filterKeys[itemType] - 1) + } + // this.messageSuccess = true; - this.messageSuccess = true; - - setTimeout(() => { + // setTimeout(() => { this.messageSuccess = false; //this.cs.openNotificationPage(); // this.modalCtrl.dismiss(); @@ -138,7 +141,7 @@ export class WorkListRfcComponent implements OnInit { data: "Success" }); - }, 5000); + // }, 1000); this.cs.sharedService.setSharedData(true, HomeComponent.COUNT_CHANGED); this.cs.openNotificationPage();