From: KIRAN KASHALKAR Date: Tue, 30 May 2017 22:58:20 +0000 (-0400) Subject: RIFT-16848:RIFT-333: Test Multi-disk (Volumes) with OpenStack (2 Image volumes, 1... X-Git-Tag: v3.0.0rc~12 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=249cc2c8a5d1da4f73b2a66da5c66aa598255c5e;p=osm%2FUI.git RIFT-16848:RIFT-333: Test Multi-disk (Volumes) with OpenStack (2 Image volumes, 1 Ephemeral volume) Signed-off-by: KIRAN KASHALKAR --- diff --git a/skyquake/plugins/launchpad/src/recordViewer/recordCard.jsx b/skyquake/plugins/launchpad/src/recordViewer/recordCard.jsx index f9a400b86..0d58f7308 100644 --- a/skyquake/plugins/launchpad/src/recordViewer/recordCard.jsx +++ b/skyquake/plugins/launchpad/src/recordViewer/recordCard.jsx @@ -143,10 +143,12 @@ export default class RecordCard extends React.Component { function buildProperties(obj) { let p = []; _forEach(obj, function(v, k) { + if (!v) { + return null; + } p.push(
-
{k}
+
{k}
{(v.constructor.name == 'String' || v.constructor.name == 'Number') ? v : buildProperties(v)}
)