Merge branch 'master' of https://osm.etsi.org/gerrit/osm/UI
authorKIRAN KASHALKAR <kiran.kashalkar@riftio.com>
Mon, 27 Feb 2017 18:43:34 +0000 (13:43 -0500)
committerKIRAN KASHALKAR <kiran.kashalkar@riftio.com>
Mon, 27 Feb 2017 18:43:34 +0000 (13:43 -0500)
1  2 
skyquake/plugins/launchpad/src/recordViewer/recordCard.jsx

@@@ -144,10 -144,10 +144,10 @@@ export default class RecordCard extend
                    let p = [];
                      _.forEach(obj, function(v, k) {
                      p.push(
-                       <div style={{margin: '0.5rem 0.5rem'}} key={k + vi}>
+                       <div style={{margin: '0.5rem 0.5rem'}} key={k + '-' + vi}>
                          <div style={{margin: '0 0.5rem',
      fontWeight: 'bold', textTransform: 'uppercase', color: '#5b5b5b'}}>{k}</div>
-                         <div style={{margin: '0 0.5rem'}}>{v.constructor.name != 'Object' ? v : buildProperties(v)}</div>
+                         <div style={{margin: '0 0.5rem'}}>{v.constructor.name == 'String' ? v : buildProperties(v)}</div>
                        </div>
                      )
                    });
            if (this.props.type == 'nsr') {
              primitivesTabTitle = 'Service Primitive';
            } else if (this.props.type == 'vnfr') {
 -            primitivesTabTitle = 'Service Primitive'
 +            primitivesTabTitle = 'Config Primitive'
            }
  
            tabList.push(