X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=skyquake%2Fplugins%2Flaunchpad%2Fsrc%2FrecordViewer%2FrecordCard.jsx;h=31b1ed631699eedb3e529395e4369bda4cae1117;hb=147a128692905459579b1993ab46c761cdacfab8;hp=88ff709a44c52e7e0f5939a56843f5a50ac22593;hpb=e2973d4873c559e4f441ee7617839152b419384a;p=osm%2FUI.git
diff --git a/skyquake/plugins/launchpad/src/recordViewer/recordCard.jsx b/skyquake/plugins/launchpad/src/recordViewer/recordCard.jsx
index 88ff709a4..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)}
)
});
@@ -266,7 +266,7 @@ export default class RecordCard extends React.Component {
if(this.props.isLoading) {
html =
} else {
- let glyphValue = (this.props.mmmrecordDetailsToggleValue) ? "chevron-left" : "chevron-right";
+ let glyphValue = (!this.props.recordDetailsToggleValue) ? "chevron-left" : "chevron-right";
if (this.props.type == 'nsr') {
tabList.push(
@@ -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(