From: Laurence Maultsby Date: Wed, 19 Oct 2016 19:08:00 +0000 (-0400) Subject: RIFT-14850: more volume styling X-Git-Tag: v1.1.0~34 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F75%2F775%2F1;p=osm%2FUI.git RIFT-14850: more volume styling Signed-off-by: Laurence Maultsby --- diff --git a/skyquake/plugins/launchpad/src/recordViewer/recordCard.jsx b/skyquake/plugins/launchpad/src/recordViewer/recordCard.jsx index 737ef701d..f69c2ba61 100644 --- a/skyquake/plugins/launchpad/src/recordViewer/recordCard.jsx +++ b/skyquake/plugins/launchpad/src/recordViewer/recordCard.jsx @@ -134,31 +134,35 @@ export default class RecordCard extends React.Component { notice =
  • * If a separate browser window does not open, please check if the popup was blocked and allow it.
  • if(vdur.hasOwnProperty('volumes') && (vdur.volumes.length > 0)) { displayVolumesTab = true; - vdur.volumer.map((volume, vi) => { + vdur.volumes.map((volume, vi) => { // let html = Prism.highlight(JSON.stringify(volume), Prism.languages.javascript, 'javascript'); // volumesHTML.push( //
                     //       
                     //     
    - let properties = []; - _.forEach(volume, function(v, k) { - properties.push( -
    -
    +
    {k}
    -
    {v}
    +
    {v.constructor.name != 'Object' ? v : buildProperties(v)}
    ) - }) + }); + return p; + } volumesHTML.push(
    VOLUME
    - +
    { - properties + buildProperties(volume) } +
    ) })