From 43b7ae5f11c2ef00ef737d179dda894c51594f45 Mon Sep 17 00:00:00 2001 From: ikram Date: Wed, 12 Aug 2020 16:31:06 -0400 Subject: Other Pause and Resume Related Scenarios Please see the user story for more details. Issue-ID: VID-875 Signed-off-by: Rachitha Ramappa Change-Id: Ib2b9f62c6c0c5f0f8c162cc776dc128d39dbb37e --- .../app/instantiationStatus/instantiationStatus.component.service.ts | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'vid-webpack-master/src/app/instantiationStatus/instantiationStatus.component.service.ts') diff --git a/vid-webpack-master/src/app/instantiationStatus/instantiationStatus.component.service.ts b/vid-webpack-master/src/app/instantiationStatus/instantiationStatus.component.service.ts index e59c16a3a..cdbe890a5 100644 --- a/vid-webpack-master/src/app/instantiationStatus/instantiationStatus.component.service.ts +++ b/vid-webpack-master/src/app/instantiationStatus/instantiationStatus.component.service.ts @@ -115,6 +115,7 @@ export class InstantiationStatusComponentService { } navigateToNewViewEdit(item: InstantiationBase, mode: DrawingBoardModes): void { + console.log("Mode : ", mode); this._store.dispatch(updateDrawingBoardStatus(mode)); const viewEditUrlTree:UrlTree = this.getNewViewEditUrlTree(item, mode); this._router.navigateByUrl(viewEditUrlTree); @@ -180,6 +181,10 @@ export class InstantiationStatusComponentService { this.navigateToNewViewEdit(item, DrawingBoardModes.RETRY_EDIT); } + resume(item: ServiceInfoModel): void { + this.navigateToNewViewEdit(item, DrawingBoardModes.RESUME); + } + recreate(item: ServiceInfoModel): void { this.navigateToNewViewEdit(item, DrawingBoardModes.RECREATE); } -- cgit 1.2.3-korg