diff --git a/Mohem/src/app/notification/work-list-replacement-roll/work-list-replacement-roll.component.ts b/Mohem/src/app/notification/work-list-replacement-roll/work-list-replacement-roll.component.ts index 5cd1e9e5..1db43447 100644 --- a/Mohem/src/app/notification/work-list-replacement-roll/work-list-replacement-roll.component.ts +++ b/Mohem/src/app/notification/work-list-replacement-roll/work-list-replacement-roll.component.ts @@ -289,11 +289,8 @@ export class WorkListReplacementRollComponent implements OnInit { handleApplayActionResult(result) { if (this.cs.validResponse(result)) { if (result.MessageStatus == 1) { + this.cs.sharedService.setSharedData(true, 'loadWorkList'); - // let msg=this.translate.translate("general.success"); - // this.cs.showAlert(msg); - // this.navCtrl.push("HomePage"); - // here show succsfull msg this.messageSuccess = true; @@ -305,7 +302,8 @@ export class WorkListReplacementRollComponent implements OnInit { data: "Success" }); - }, 5000); + }, 5000); + this.cs.openNotificationPage(); } 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 1bacb0b4..e8e41c87 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 @@ -123,12 +123,9 @@ export class WorkListRfcComponent implements OnInit { handleApplayActionResult(result) { if (this.cs.validResponse(result)) { if (result.MessageStatus == 1) { - // let msg:string=""; - // msg=this.translate.translate("general.success"); - // this.common.showAlert(msg); - // this.navCtrl.push("HomePage"); - // this.cs.openHome(); - // here show succsfull msg + this.cs.sharedService.setSharedData(true, 'loadWorkList'); + + this.messageSuccess = true; setTimeout(() => {