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-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F96%2F1896%2F1;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)}
)