summaryrefslogtreecommitdiffstats
path: root/public/src/app/general/general.component.ts
diff options
context:
space:
mode:
authorManor, Yanir (ym903w) <ym903w@intl.att.com>2018-10-21 11:00:42 +0300
committerManor, Yanir (ym903w) <ym903w@intl.att.com>2018-10-21 11:00:42 +0300
commita0c5a22d123f1bdaa8ec7bfbf75f76cbe2ace29a (patch)
tree456198ada103cd23bd57f40b6475fb3c9a86fef5 /public/src/app/general/general.component.ts
parent29ffa5ef26f82002bf894b9288e9a369a144388d (diff)
Update code to latest
Change-Id: I76b37c2d6d333204899c9bc87f310e5b607a5e73 Issue-ID: DCAEGEN2-836 Signed-off-by: Manor, Yanir (ym903w) <ym903w@intl.att.com>
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;