X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FUI.git;a=blobdiff_plain;f=skyquake%2Fplugins%2Flaunchpad%2Fsrc%2FrecordViewer%2FrecordCard.jsx;h=7051aebd0a6e40302997ae25fe7b424ffa002763;hp=8a67c96719445b6421a7d8a6b04b357bed83c5a4;hb=05dc1675891fa4bc1b4965e57f2e79701029205f;hpb=c2edea79c193c2817fdf42a3b3dca683335dffa7 diff --git a/skyquake/plugins/launchpad/src/recordViewer/recordCard.jsx b/skyquake/plugins/launchpad/src/recordViewer/recordCard.jsx index 8a67c9671..7051aebd0 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.constructor.name == 'Number') ? 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(