diff --git a/frontend/pages/ManageControlsPage/SetupExperience/cards/InstallSoftware/components/InstallSoftwarePreview/InstallSoftwarePreview.tsx b/frontend/pages/ManageControlsPage/SetupExperience/cards/InstallSoftware/components/InstallSoftwarePreview/InstallSoftwarePreview.tsx index e16c7f525b..2924274e9c 100644 --- a/frontend/pages/ManageControlsPage/SetupExperience/cards/InstallSoftware/components/InstallSoftwarePreview/InstallSoftwarePreview.tsx +++ b/frontend/pages/ManageControlsPage/SetupExperience/cards/InstallSoftware/components/InstallSoftwarePreview/InstallSoftwarePreview.tsx @@ -16,7 +16,7 @@ interface IPreviewDisplayConfig { const PREVIEW_DISPLAY_OPTIONS: Record< SetupExperiencePlatform, - IPreviewDisplayConfig + IPreviewDisplayConfig | undefined > = { macos: { description: ( @@ -34,24 +34,8 @@ const PREVIEW_DISPLAY_OPTIONS: Record< ), videoSrc: MacInstallSoftwareEndUserPreview, }, - ios: { - description: ( -
- When an iOS host in Apple Business Manager (ABM) enrolls, the selected - software is installed. -
- ), - videoSrc: MacInstallSoftwareEndUserPreview, // TODO: update with new video when it's available - }, - ipados: { - description: ( -- When an iPadOS host in Apple Business Manager (ABM) enrolls, the - selected software is installed. -
- ), - videoSrc: MacInstallSoftwareEndUserPreview, // TODO: update with new video when it's available - }, + ios: undefined, + ipados: undefined, linux: { description: ( <> @@ -83,8 +67,8 @@ interface InstallSoftwarePreviewProps { } const InstallSoftwarePreview = ({ platform }: InstallSoftwarePreviewProps) => { - const { description, videoSrc } = PREVIEW_DISPLAY_OPTIONS[platform]; - return ( + const { description, videoSrc } = PREVIEW_DISPLAY_OPTIONS[platform] || {}; + return description && videoSrc ? (