RIFT-15738: Launchpad UI - RIFT.ware DEB install - multi-disk / Volumes - Viewport...
authorKIRAN KASHALKAR <kiran.kashalkar@riftio.com>
Wed, 8 Mar 2017 19:51:48 +0000 (14:51 -0500)
committerKIRAN KASHALKAR <kiran.kashalkar@riftio.com>
Wed, 8 Mar 2017 19:51:48 +0000 (14:51 -0500)
Signed-off-by: KIRAN KASHALKAR <kiran.kashalkar@riftio.com>
skyquake/plugins/launchpad/src/recordViewer/recordCard.jsx

index 50a3585..7051aeb 100644 (file)
@@ -147,7 +147,7 @@ export default class RecordCard extends React.Component {
                       <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 == 'String' ? v : buildProperties(v)}</div>
+                        <div style={{margin: '0 0.5rem'}}>{(v.constructor.name == 'String' || v.constructor.name == 'Number') ? v : buildProperties(v)}</div>
                       </div>
                     )
                   });