mirror of
https://github.com/fleetdm/fleet
synced 2026-04-21 13:37:30 +00:00
UI - Fix DUP banners for Fedora disk encryption (#24153)
## Addresses unreleased bug where banners were not functioning for Fedora host <img width="1464" alt="Screenshot 2024-11-25 at 4 39 05 PM" src="https://github.com/user-attachments/assets/78c3adee-ff45-4236-b1b1-299d79575cb6"> - [x] Manual QA for all new/changed functionality Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
This commit is contained in:
parent
c0c2474763
commit
ec7bb8be09
2 changed files with 2 additions and 4 deletions
|
|
@ -371,6 +371,7 @@ const DeviceUserPage = ({
|
|||
<div className={`${baseClass} main-content`}>
|
||||
<DeviceUserBanners
|
||||
hostPlatform={host.platform}
|
||||
hostOsVersion={host.os_version}
|
||||
mdmEnrollmentStatus={host.mdm.enrollment_status}
|
||||
mdmEnabledAndConfigured={
|
||||
!!globalConfig?.mdm.enabled_and_configured
|
||||
|
|
|
|||
|
|
@ -5,10 +5,7 @@ import Button from "components/buttons/Button";
|
|||
import { MacDiskEncryptionActionRequired } from "interfaces/host";
|
||||
import { IHostBannersBaseProps } from "pages/hosts/details/HostDetailsPage/components/HostDetailsBanners/HostDetailsBanners";
|
||||
import CustomLink from "components/CustomLink";
|
||||
import {
|
||||
isDiskEncryptionSupportedLinuxPlatform,
|
||||
platformSupportsDiskEncryption,
|
||||
} from "interfaces/platform";
|
||||
import { isDiskEncryptionSupportedLinuxPlatform } from "interfaces/platform";
|
||||
|
||||
const baseClass = "device-user-banners";
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue