diff --git a/plugins/main/public/components/overview/server-management-statistics/dashboards/dashboardTabsPanels.tsx b/plugins/main/public/components/overview/server-management-statistics/dashboards/dashboardTabsPanels.tsx index 9cccb48a81..f4b26f448f 100644 --- a/plugins/main/public/components/overview/server-management-statistics/dashboards/dashboardTabsPanels.tsx +++ b/plugins/main/public/components/overview/server-management-statistics/dashboards/dashboardTabsPanels.tsx @@ -1,6 +1,5 @@ import React, { useEffect, useState } from 'react'; import { getPlugins } from '../../../../kibana-services'; -import { I18nProvider } from '@osd/i18n/react'; import useSearchBar from '../../../common/search-bar/use-search-bar'; import { EuiFlexItem, @@ -133,7 +132,7 @@ export const DashboardTabsPanels = ({ }, }; return ( - + <> {isDataSourceLoading && !dataSource ? ( ) : ( @@ -194,6 +193,6 @@ export const DashboardTabsPanels = ({ )} ) : null} - + ); }; diff --git a/plugins/main/public/controllers/management/components/management/statistics/statistics-overview.js b/plugins/main/public/controllers/management/components/management/statistics/statistics-overview.js index da238bb4fc..cc8691e318 100644 --- a/plugins/main/public/controllers/management/components/management/statistics/statistics-overview.js +++ b/plugins/main/public/controllers/management/components/management/statistics/statistics-overview.js @@ -24,6 +24,7 @@ import { EuiSpacer, EuiProgress, } from '@elastic/eui'; +import { I18nProvider } from '@osd/i18n/react'; import { clusterReq, clusterNodes } from '../configuration/utils/wz-fetch'; import { compose } from 'redux'; @@ -160,57 +161,59 @@ export class WzStatisticsOverview extends Component { render() { return ( - - - - - - - -

Statistics

-
+ + + + + + + + +

Statistics

+
+
+
+
+ {this.props.configurationUIEditable && ( + + + + Settings + + -
-
- {this.props.configurationUIEditable && ( - - - - Settings - - + )} +
+ + + + From here you can see daemon statistics. + + + + + + {this.renderTabs()} - )} - - - - - From here you can see daemon statistics. - - - - - - {this.renderTabs()} - - - - -
-
+ + + + + + ); } }