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:
jacobshandling 2024-11-26 10:09:57 -08:00 committed by GitHub
parent c0c2474763
commit ec7bb8be09
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 4 deletions

View file

@ -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

View file

@ -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";