NOTICKET - Check for vnf-configuration present
authorKIRAN KASHALKAR <kiran.kashalkar@riftio.com>
Tue, 28 Mar 2017 21:08:20 +0000 (17:08 -0400)
committerKIRAN KASHALKAR <kiran.kashalkar@riftio.com>
Tue, 28 Mar 2017 21:08:20 +0000 (17:08 -0400)
Signed-off-by: KIRAN KASHALKAR <kiran.kashalkar@riftio.com>
skyquake/plugins/launchpad/src/launchpad_card/nsrConfigPrimitives.jsx

index b44b3d9..9d0cdba 100644 (file)
@@ -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 = {}