From 117596f705c2af2a837847b5d91c7318b6ff3ce4 Mon Sep 17 00:00:00 2001 From: KIRAN KASHALKAR Date: Tue, 28 Mar 2017 17:08:20 -0400 Subject: [PATCH] NOTICKET - Check for vnf-configuration present Signed-off-by: KIRAN KASHALKAR --- .../launchpad/src/launchpad_card/nsrConfigPrimitives.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skyquake/plugins/launchpad/src/launchpad_card/nsrConfigPrimitives.jsx b/skyquake/plugins/launchpad/src/launchpad_card/nsrConfigPrimitives.jsx index b44b3d94b..9d0cdbae7 100644 --- a/skyquake/plugins/launchpad/src/launchpad_card/nsrConfigPrimitives.jsx +++ b/skyquake/plugins/launchpad/src/launchpad_card/nsrConfigPrimitives.jsx @@ -43,7 +43,7 @@ class NsrConfigPrimitives extends React.Component { vnfrConfigPrimitive.name = vnfr['short-name']; vnfrConfigPrimitive['vnfr-id-ref'] = vnfr['id']; //input references - let configPrimitives = vnfr['vnf-configuration']['service-primitive']; + let configPrimitives = vnfr['vnf-configuration'] && vnfr['vnf-configuration']['service-primitive']; //input references by key let vnfrConfigPrimitives = {} -- 2.25.1