From e893695c8b1d650d4fb4694a8822a2c25bfee7d3 Mon Sep 17 00:00:00 2001 From: KIRAN KASHALKAR Date: Mon, 21 Nov 2016 18:16:09 -0500 Subject: [PATCH] RIFT-15032: launchpad UI - RIFT.ware DEB install - Viewport - icons for nsr (this workflow is terrible) Signed-off-by: KIRAN KASHALKAR --- .../plugins/launchpad/src/recordViewer/recordNavigator.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.25.1