X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FUI.git;a=blobdiff_plain;f=skyquake%2Fplugins%2Flaunchpad%2Fsrc%2FrecordViewer%2FrecordCard.jsx;h=50a3585d504c28b3ccb23420fa038d3c43bea827;hp=8a67c96719445b6421a7d8a6b04b357bed83c5a4;hb=47f1c190e7bec1588bbf094107b2641363ad36e2;hpb=c2edea79c193c2817fdf42a3b3dca683335dffa7 diff --git a/skyquake/plugins/launchpad/src/recordViewer/recordCard.jsx b/skyquake/plugins/launchpad/src/recordViewer/recordCard.jsx index 8a67c9671..50a3585d5 100644 --- a/skyquake/plugins/launchpad/src/recordViewer/recordCard.jsx +++ b/skyquake/plugins/launchpad/src/recordViewer/recordCard.jsx @@ -144,10 +144,10 @@ export default class RecordCard extends React.Component { let p = []; _.forEach(obj, function(v, k) { p.push( -
+
{k}
-
{v.constructor.name != 'Object' ? v : buildProperties(v)}
+
{v.constructor.name == 'String' ? v : buildProperties(v)}
) }); @@ -329,7 +329,7 @@ export default class RecordCard extends React.Component { if (this.props.type == 'nsr') { primitivesTabTitle = 'Service Primitive'; } else if (this.props.type == 'vnfr') { - primitivesTabTitle = 'Config Primitive' + primitivesTabTitle = 'Service Primitive' } tabList.push(