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} + + + + ); + }, + )} + ); };