From: KIRAN KASHALKAR Date: Mon, 21 Nov 2016 23:16:09 +0000 (-0500) Subject: RIFT-15032: launchpad UI - RIFT.ware DEB install - Viewport - icons for nsr (this... X-Git-Tag: v1.1.0~41 X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FUI.git;a=commitdiff_plain;h=e893695c8b1d650d4fb4694a8822a2c25bfee7d3 RIFT-15032: launchpad UI - RIFT.ware DEB install - Viewport - icons for nsr (this workflow is terrible) Signed-off-by: KIRAN KASHALKAR --- diff --git a/skyquake/plugins/launchpad/src/recordViewer/recordNavigator.jsx b/skyquake/plugins/launchpad/src/recordViewer/recordNavigator.jsx index edb4dbbfd..92bb81f8e 100644 --- a/skyquake/plugins/launchpad/src/recordViewer/recordNavigator.jsx +++ b/skyquake/plugins/launchpad/src/recordViewer/recordNavigator.jsx @@ -45,9 +45,9 @@ export default class RecordNavigator extends React.Component{ getDescriptorIdFromRecord = (record) => { if (record.type && record.type == 'nsr') { - return nsr.nsd && nsr.nsd.id; + return record.nsd && record.nsd.id; } else if (record.type && record.type == 'vnfr') { - return vnfr.vnfd && vnfr.vnfd.id; + return record.vnfd && record.vnfd.id; } return null;