diff --git a/frontend/pages/hosts/details/cards/HostSummary/HostSummary.tsx b/frontend/pages/hosts/details/cards/HostSummary/HostSummary.tsx index afa54bb8e6..8a453d61e0 100644 --- a/frontend/pages/hosts/details/cards/HostSummary/HostSummary.tsx +++ b/frontend/pages/hosts/details/cards/HostSummary/HostSummary.tsx @@ -24,7 +24,6 @@ import StatusIndicator from "components/StatusIndicator"; import { COLORS } from "styles/var/colors"; import OSSettingsIndicator from "./OSSettingsIndicator"; -import HostSummaryIndicator from "./HostSummaryIndicator"; import BootstrapPackageIndicator from "./BootstrapPackageIndicator/BootstrapPackageIndicator"; import { @@ -369,21 +368,27 @@ const HostSummary = ({ mdmName?.includes("Fleet") && // show if 1 - host is enrolled in Fleet MDM, and hostMdmProfiles && hostMdmProfiles.length > 0 && ( // 2 - host has at least one setting (profile) enforced - - - + + } + /> )} {bootstrapPackageData?.status && ( - - - + + } + /> )} {platform !== "chrome" && renderDiskSpaceSummary()} diff --git a/frontend/pages/hosts/details/cards/HostSummary/HostSummaryIndicator/HostSummaryIndicator.tsx b/frontend/pages/hosts/details/cards/HostSummary/HostSummaryIndicator/HostSummaryIndicator.tsx deleted file mode 100644 index ca707e477a..0000000000 --- a/frontend/pages/hosts/details/cards/HostSummary/HostSummaryIndicator/HostSummaryIndicator.tsx +++ /dev/null @@ -1,20 +0,0 @@ -import React from "react"; - -interface IHostSummaryIndicatorProps { - title: string; - children: JSX.Element; -} - -const HostSummaryIndicator = ({ - title, - children, -}: IHostSummaryIndicatorProps): JSX.Element => { - return ( -
- {title} - {children} -
- ); -}; - -export default HostSummaryIndicator; diff --git a/frontend/pages/hosts/details/cards/HostSummary/HostSummaryIndicator/index.ts b/frontend/pages/hosts/details/cards/HostSummary/HostSummaryIndicator/index.ts deleted file mode 100644 index e3e7cea220..0000000000 --- a/frontend/pages/hosts/details/cards/HostSummary/HostSummaryIndicator/index.ts +++ /dev/null @@ -1 +0,0 @@ -export { default } from "./HostSummaryIndicator";