X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FUI.git;a=blobdiff_plain;f=skyquake%2Fplugins%2Flaunchpad%2Fsrc%2FrecordViewer%2FrecordCard.jsx;h=31b1ed631699eedb3e529395e4369bda4cae1117;hp=82d8973e9653fe57d49d049686915f7f762f4a67;hb=f1415f5a842a1243160ba1f7c549a47cabf0d11d;hpb=68f966b95b4fbe7942555d3cc339579c2f96dda7 diff --git a/skyquake/plugins/launchpad/src/recordViewer/recordCard.jsx b/skyquake/plugins/launchpad/src/recordViewer/recordCard.jsx index 82d8973e9..31b1ed631 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 = 'Service Primitive' + primitivesTabTitle = 'Config Primitive' } tabList.push(