+
+
+ {items.map(item => (
+
+ ,
+ items: item.items,
+ },
+ ]}
+ style={{ padding: '4px 12px' }}
+ />
+
+ ))}
+
+
+
+ );
+ }
+}
+
+const mapStateToProps = state => {
+ return {
+ currentAgentData: state.appStateReducers.currentAgentData,
+ currentTab: state.appStateReducers.currentTab,
+ };
+};
+
+const mapDispatchToProps = dispatch => ({
+ updateCurrentAgentData: agentData =>
+ dispatch(updateCurrentAgentData(agentData)),
+});
+
+export default connect(mapStateToProps, mapDispatchToProps)(WzMenuAgent);
diff --git a/plugins/main/public/components/common/welcome/overview-welcome.js b/plugins/main/public/components/common/welcome/overview-welcome.js
index 42afc33bbf..ffa23e69e4 100644
--- a/plugins/main/public/components/common/welcome/overview-welcome.js
+++ b/plugins/main/public/components/common/welcome/overview-welcome.js
@@ -33,7 +33,7 @@ import { compose } from 'redux';
import {
Applications,
Categories,
- endpointSumary,
+ endpointSummary,
overview,
} from '../../../utils/applications';
import { getCore } from '../../../kibana-services';
@@ -66,7 +66,7 @@ export const OverviewWelcome = compose(
withReduxProvider,
withErrorBoundary,
withGlobalBreadcrumb(props => {
- return [{ text: overview.title }];
+ return [{ text: overview.breadcrumbLabel }];
}),
)(
class OverviewWelcome extends Component {
@@ -92,9 +92,9 @@ export const OverviewWelcome = compose(
]}
iconType='plusInCircle'
href={getCore().application.getUrlForApp(
- endpointSumary.id,
+ endpointSummary.id,
{
- path: `#${endpointSumary.redirectTo()}deploy`,
+ path: `#${endpointSummary.redirectTo()}deploy`,
},
)}
>
diff --git a/plugins/main/public/components/common/welcome/welcome.scss b/plugins/main/public/components/common/welcome/welcome.scss
index dab373eee2..65dd40462b 100644
--- a/plugins/main/public/components/common/welcome/welcome.scss
+++ b/plugins/main/public/components/common/welcome/welcome.scss
@@ -44,41 +44,3 @@
span.statWithLink:hover {
text-decoration: underline;
}
-
-// Header buttons of IT Hygiene application
-
-// Sidebar is open and locked
-body.euiBody--hasFlyout:not(.euiBody-hasOverlayMask) {
- @media only screen and (max-width: 1345px) {
- // Hide button text depending on the window size
- .wz-it-hygiene-header-button .euiButtonEmpty__text {
- display: none;
- }
- }
-
- @media only screen and (min-width: 1346px) {
- // Hide the tooltip of button depending on the window size
- .wz-it-hygiene-header-button-tooltip {
- display: none;
- }
- }
-}
-
-// Sidebar is closed
-body:not(.euiBody--hasFlyout) {
- @media only screen and (max-width: 1025px) {
- // Hide button text depending on the window size
- .wz-it-hygiene-header-button .euiButtonEmpty__text {
- display: none;
- }
- }
-
- @media only screen and (min-width: 1026px) {
- // Hide the tooltip of button depending on the window size
- .wz-it-hygiene-header-button-tooltip {
- display: none;
- }
- }
-}
-
-// Header buttons of IT Hygiene application
diff --git a/plugins/main/public/components/endpoints-summary/endpoints-summary.tsx b/plugins/main/public/components/endpoints-summary/endpoints-summary.tsx
index cf8adb3ff7..494e2da137 100644
--- a/plugins/main/public/components/endpoints-summary/endpoints-summary.tsx
+++ b/plugins/main/public/components/endpoints-summary/endpoints-summary.tsx
@@ -37,7 +37,6 @@ import {
withUserAuthorizationPrompt,
withErrorBoundary,
} from '../common/hocs';
-import { formatUIDate } from '../../../public/react-services/time-service';
import { compose } from 'redux';
import {
UI_LOGGER_LEVELS,
@@ -50,7 +49,7 @@ import {
agentStatusColorByAgentStatus,
agentStatusLabelByAgentStatus,
} from '../../../common/services/wz_agent_status';
-import { endpointSumary, itHygiene } from '../../utils/applications';
+import { endpointSummary } from '../../utils/applications';
import { ShareAgent } from '../../factories/share-agent';
import { getCore } from '../../kibana-services';
import './endpoints-summary.scss';
@@ -59,7 +58,7 @@ import { RedirectAppLinks } from '../../../../../src/plugins/opensearch_dashboar
export const EndpointsSummary = compose(
withErrorBoundary,
withReduxProvider,
- withGlobalBreadcrumb([{ text: endpointSumary.title }]),
+ withGlobalBreadcrumb([{ text: endpointSummary.breadcrumbLabel }]),
withUserAuthorizationPrompt([
[
{ action: 'agent:read', resource: 'agent:id:*' },
@@ -295,7 +294,7 @@ export const EndpointsSummary = compose(
>