summaryrefslogtreecommitdiffstats
path: root/public/src/app/main/main.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/main/main.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/main/main.component.ts')
-rw-r--r--public/src/app/main/main.component.ts8
1 files changed, 6 insertions, 2 deletions
diff --git a/public/src/app/main/main.component.ts b/public/src/app/main/main.component.ts
index 3070435..8ba0d1f 100644
--- a/public/src/app/main/main.component.ts
+++ b/public/src/app/main/main.component.ts
@@ -41,7 +41,7 @@ export class MainComponent {
console.log('newVfcmt: %o', params);
this.store.loader = true;
this.store.vfiName = params.serviceAttached;
- this.store.flowType = 'default';
+ // this.store.flowType = 'default';
this.restApi
.createNewVFCMT({
name: params.name,
@@ -56,6 +56,9 @@ export class MainComponent {
success => {
console.log(success);
this.store.mcUuid = success.vfcmt.uuid;
+ this.store.generalflow = '';
+ this.store.mcName = success.vfcmt.name;
+ this.store.flowType = success.cdump.flowType;
console.log(this.cleanProperty(success));
this.store.cdump = success.cdump;
this.diagramRelationsFromCdump(success);
@@ -113,10 +116,11 @@ export class MainComponent {
.subscribe(
success => {
console.log(success);
-
this.location.path();
// this.location.go();
this.store.mcUuid = success.vfcmt.uuid;
+ this.store.generalflow = '';
+ this.store.mcName = success.vfcmt.name;
console.log(this.cleanProperty(success));
this.store.cdump = success.cdump;
this.diagramRelationsFromCdump(success);