From 562b91c16ea3670bf0c4f7a2bf4d578207eecf07 Mon Sep 17 00:00:00 2001 From: Aijana Schumann Date: Fri, 23 Oct 2020 11:58:02 +0200 Subject: Update NetworkMap Change how pnfs/nodes are discovered; new lookup uses node-name Issue-ID: CCSDK-2940 Signed-off-by: Aijana Schumann Change-Id: I2561d5a2478664fc975b25f08a7ef57122756e0a --- .../apps/networkMapApp/src/components/denseTable.tsx | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) (limited to 'sdnr/wt/odlux/apps/networkMapApp/src/components') diff --git a/sdnr/wt/odlux/apps/networkMapApp/src/components/denseTable.tsx b/sdnr/wt/odlux/apps/networkMapApp/src/components/denseTable.tsx index 1506df5ab..72fe79ee3 100644 --- a/sdnr/wt/odlux/apps/networkMapApp/src/components/denseTable.tsx +++ b/sdnr/wt/odlux/apps/networkMapApp/src/components/denseTable.tsx @@ -71,15 +71,8 @@ const DenseTable: React.FunctionComponent = (props) => { - {props.data.map((row, index) => { - - - var filteredRows = Object.keys(row).filter(function(e) { if(e!=="simulatorId") return row }); - - //var filteredRows = Object.keys(row).filter(function(e) { if(e!=="simulatorId") return row[e] }); - var values = Object.keys(row).map(function(e) { if(e!=="simulatorId"){ return row[e];} else return undefined }); - - + {props.data.map((row, index) => { + var values = Object.keys(row).map(function(e) { return row[e] }); return ( handleHover(e,row.name)} onClick={ e => handleClick(e, row.name)}> @@ -96,14 +89,11 @@ const DenseTable: React.FunctionComponent = (props) => { props.actions &&
- - - - + - +
-- cgit 1.2.3-korg