summaryrefslogtreecommitdiffstats
path: root/public/src/app/general/general.component.ts
diff options
context:
space:
mode:
Diffstat (limited to 'public/src/app/general/general.component.ts')
-rw-r--r--public/src/app/general/general.component.ts9
1 files changed, 8 insertions, 1 deletions
diff --git a/public/src/app/general/general.component.ts b/public/src/app/general/general.component.ts
index 3e4f4a3..094949a 100644
--- a/public/src/app/general/general.component.ts
+++ b/public/src/app/general/general.component.ts
@@ -79,7 +79,13 @@ export class GeneralComponent implements OnInit {
this.store.generalflow = this.route.snapshot.params.mcid;
} else {
this.store.generalflow = 'edit';
- this.store.mcUuid = this.route.snapshot.params.mcid;
+ if (this.route.snapshot.params.submitted) {
+ this.store.mcUuid = `${
+ this.route.snapshot.params.mcid
+ }/${(this.store.mcUuid = this.route.snapshot.params.submitted)}`;
+ } else {
+ this.store.mcUuid = this.route.snapshot.params.mcid;
+ }
}
this.serviceUUID = this.route.snapshot.params.uuid;
}
@@ -135,6 +141,7 @@ export class GeneralComponent implements OnInit {
.subscribe(
response => {
this.newVfcmt = response.vfcmt;
+ this.store.mcName = response.vfcmt.name;
this.flowTypes.push(response.cdump.flowType);
this.newVfcmt.flowType = response.cdump.flowType;
this.store.flowType = response.cdump.flowType;