diff options
author | 2019-05-16 02:37:56 +0000 | |
---|---|---|
committer | 2019-05-16 02:37:56 +0000 | |
commit | 5d9a85c43a3a77688961352a8b127506c4d23b89 (patch) | |
tree | 534f4d977a7ff049c240c092e8b97632db9564d3 /usecaseui-portal/src/app/components/e2e-creation/e2e-creation.component.ts | |
parent | 11d2ec986be2c53da9bb4fecd49af0ccf4e6103c (diff) | |
parent | c3e2270c9694e0cbd2835d0d1ae7d14405ba0e8e (diff) |
Merge "Fix instance instantiation for e2e/NS"
Diffstat (limited to 'usecaseui-portal/src/app/components/e2e-creation/e2e-creation.component.ts')
-rw-r--r-- | usecaseui-portal/src/app/components/e2e-creation/e2e-creation.component.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usecaseui-portal/src/app/components/e2e-creation/e2e-creation.component.ts b/usecaseui-portal/src/app/components/e2e-creation/e2e-creation.component.ts index dc8566e0..13300eda 100644 --- a/usecaseui-portal/src/app/components/e2e-creation/e2e-creation.component.ts +++ b/usecaseui-portal/src/app/components/e2e-creation/e2e-creation.component.ts @@ -102,11 +102,13 @@ export class E2eCreationComponent implements OnInit { console.log(this.templateParameters); console.log(this.roote2e) }else if(type == "ns"){ - if(typeof data["model"]=='string'){ + if(data["model"]!=undefined && typeof data["model"]=='string'){ this.nsTemplateParameters = JSON.parse(data["model"]); + console.log(data["model"]); }else{ this.nsTemplateParameters = data; } + console.log(this.nsTemplateParameters); this.nsTemplateParameters["inputs2"] = []; let inputs = this.nsTemplateParameters.inputs; for(let key in inputs){ |