summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/views/ccvpn-creation
diff options
context:
space:
mode:
authorTao Shen <shentao@chinamobile.com>2019-09-11 09:27:42 +0000
committerGerrit Code Review <gerrit@onap.org>2019-09-11 09:27:42 +0000
commitc5f724975b6c15913d609e6edb07ec8a91bc3a0d (patch)
tree2a9d6b24ba26231fa2eec864c79aa70986e52e28 /usecaseui-portal/src/app/views/ccvpn-creation
parente3218a0f7098977d0de690b954a691d99449270c (diff)
parentd384c6e15673313c3cbba04f0cde562a8894a8ae (diff)
Merge "feat:mock local json data for services-list page"
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"];