From 51acf9c226d278d9a7f3393b677c5fec9044d763 Mon Sep 17 00:00:00 2001 From: mufaddal motiwala Date: Mon, 20 Dec 2021 12:57:07 +0530 Subject: [PATCH] removed extra grid Signed-off-by: mufaddal motiwala --- .../NewRelicDashboard/DashboardEntityList.tsx | 56 +++++++++---------- 1 file changed, 26 insertions(+), 30 deletions(-) diff --git a/plugins/newrelic-dashboard/src/components/NewRelicDashboard/DashboardEntityList.tsx b/plugins/newrelic-dashboard/src/components/NewRelicDashboard/DashboardEntityList.tsx index a8f95336d2..88cfa6f0fb 100644 --- a/plugins/newrelic-dashboard/src/components/NewRelicDashboard/DashboardEntityList.tsx +++ b/plugins/newrelic-dashboard/src/components/NewRelicDashboard/DashboardEntityList.tsx @@ -52,35 +52,31 @@ export const DashboardEntityList = () => { return {error.message}; } return ( - - - - {value?.getDashboardEntity === undefined && - 'Unauthorized Request , please check API Key'} - {value?.getDashboardEntity?.data.actor.entitySearch.results.entities - .length <= 0 && ( - <>No Dashboard Pages found with the specified Dashboard GUID - )} - {value?.getDashboardEntity?.data.actor.entitySearch.results.entities?.map( - (entity: any) => { - return ( - - - - - - - - - {entity.name} - - - - ); - }, - )} - - - + + {value?.getDashboardEntity === undefined && + 'Unauthorized Request , please check API Key'} + {value?.getDashboardEntity?.data.actor.entitySearch.results.entities + .length <= 0 && ( + <>No Dashboard Pages found with the specified Dashboard GUID + )} + {value?.getDashboardEntity?.data.actor.entitySearch.results.entities?.map( + (entity: any) => { + return ( + + + + + + + + + {entity.name} + + + + ); + }, + )} + ); };