RIFT-16858: Launchpad Viewport VNFD: Volumes tab does not list all volumes
authorKIRAN KASHALKAR <kiran.kashalkar@riftio.com>
Wed, 31 May 2017 17:35:45 +0000 (13:35 -0400)
committerKIRAN KASHALKAR <kiran.kashalkar@riftio.com>
Wed, 31 May 2017 17:35:45 +0000 (13:35 -0400)
Signed-off-by: KIRAN KASHALKAR <kiran.kashalkar@riftio.com>
skyquake/plugins/launchpad/src/recordViewer/recordCard.jsx

index 0d58f73..ddb4779 100644 (file)
@@ -156,9 +156,9 @@ export default class RecordCard extends React.Component {
                     return p;
                  }
                 volumesHTML.push(
-                    <div key={vi}>
+                    <div key={index + vi}>
                       <div className="launchpadCard_title">
-                        VOLUME
+                        VOLUME ({vdur['name']})
                       </div>
                       <div style={{display: 'flex', flexDirection: 'column'}}>
                       {