summaryrefslogtreecommitdiffstats
path: root/vid-webpack-master/src/app/instantiationStatus/instantiationStatus.component.service.ts
diff options
context:
space:
mode:
Diffstat (limited to 'vid-webpack-master/src/app/instantiationStatus/instantiationStatus.component.service.ts')
-rw-r--r--vid-webpack-master/src/app/instantiationStatus/instantiationStatus.component.service.ts5
1 files changed, 5 insertions, 0 deletions
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);
}