X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FUI.git;a=blobdiff_plain;f=skyquake%2Fplugins%2Flaunchpad%2Fsrc%2FrecordViewer%2FrecordCard.jsx;h=0d58f7308b765a4068d9b06889d342b0443716ea;hp=f9a400b8676fca2ae7c33513763b3ad56751f6a1;hb=cfbe2bba8c107d8d8f32601fe0dcd128bcbfa077;hpb=00bf078950204d08fbc3bb39675707a532972151 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)}
)