X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=skyquake%2Fplugins%2Flaunchpad%2Fsrc%2FrecordViewer%2FrecordCard.jsx;fp=skyquake%2Fplugins%2Flaunchpad%2Fsrc%2FrecordViewer%2FrecordCard.jsx;h=f69c2ba61a5cf7d155abb58de875089c7a1886c6;hb=a75ac3eb67ef3730e787d766224800c81f82a9fa;hp=737ef701d7db6d9dde2ea7c0877db2242fc12639;hpb=573c1249edf74aa6cc50af1f92fd38832149d3eb;p=osm%2FUI.git 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) } +
    ) })