diff options
author | Manor, Yanir (ym903w) <ym903w@intl.att.com> | 2018-10-21 11:00:42 +0300 |
---|---|---|
committer | Manor, Yanir (ym903w) <ym903w@intl.att.com> | 2018-10-21 11:00:42 +0300 |
commit | a0c5a22d123f1bdaa8ec7bfbf75f76cbe2ace29a (patch) | |
tree | 456198ada103cd23bd57f40b6475fb3c9a86fef5 /public/src/app/general/general.component.ts | |
parent | 29ffa5ef26f82002bf894b9288e9a369a144388d (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.ts | 9 |
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; |