From a75ac3eb67ef3730e787d766224800c81f82a9fa Mon Sep 17 00:00:00 2001 From: Laurence Maultsby Date: Wed, 19 Oct 2016 15:08:00 -0400 Subject: [PATCH] RIFT-14850: more volume styling Signed-off-by: Laurence Maultsby --- .../launchpad/src/recordViewer/recordCard.jsx | 24 +++++++++++-------- 1 file changed, 14 insertions(+), 10 deletions(-) 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) } +
    ) }) -- 2.25.1