summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/views/ccvpn-creation
diff options
context:
space:
mode:
Diffstat (limited to 'usecaseui-portal/src/app/views/ccvpn-creation')
-rw-r--r--usecaseui-portal/src/app/views/ccvpn-creation/ccvpn-creation.component.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/usecaseui-portal/src/app/views/ccvpn-creation/ccvpn-creation.component.ts b/usecaseui-portal/src/app/views/ccvpn-creation/ccvpn-creation.component.ts
index cb1c61df..8e194b28 100644
--- a/usecaseui-portal/src/app/views/ccvpn-creation/ccvpn-creation.component.ts
+++ b/usecaseui-portal/src/app/views/ccvpn-creation/ccvpn-creation.component.ts
@@ -80,7 +80,7 @@ export class CcvpnCreationComponent implements OnInit {
}
getccvpnTemParameters(data) { //Get template parameters
- if (typeof data["model"] == 'string') {
+ if (data.hasOwnProperty("model") && typeof data["model"] == 'string') {
data = JSON.parse(data["model"]);
}
let inputss = data["inputs"];