diff --git a/plugins/main/public/components/overview/amazon-web-services/dashboards/dashboard.tsx b/plugins/main/public/components/overview/amazon-web-services/dashboards/dashboard.tsx index 007d4f7b04..e29d7609f5 100644 --- a/plugins/main/public/components/overview/amazon-web-services/dashboards/dashboard.tsx +++ b/plugins/main/public/components/overview/amazon-web-services/dashboards/dashboard.tsx @@ -98,37 +98,38 @@ const DashboardAWSComponents: React.FC = ({}) => { )} {dataSource && results?.hits?.total === 0 ? ( - ) : ( - - )} - {dataSource && results?.hits?.total > 0 ? ( -
- -
+ ) : null} + {!isDataSourceLoading && dataSource && results?.hits?.total > 0 ? ( + <> + +
+ +
+ ) : null}