diff --git a/changes/7476-fix-ui-overflow-os-settings-table b/changes/7476-fix-ui-overflow-os-settings-table new file mode 100644 index 0000000000..6c95925de8 --- /dev/null +++ b/changes/7476-fix-ui-overflow-os-settings-table @@ -0,0 +1 @@ +- fixes UI overflow issues with OS settings table data diff --git a/frontend/pages/hosts/details/HostDetailsPage/HostDetailsPage.tsx b/frontend/pages/hosts/details/HostDetailsPage/HostDetailsPage.tsx index 4971fdf086..172b6e4bd9 100644 --- a/frontend/pages/hosts/details/HostDetailsPage/HostDetailsPage.tsx +++ b/frontend/pages/hosts/details/HostDetailsPage/HostDetailsPage.tsx @@ -53,7 +53,7 @@ import { HOST_OSQUERY_DATA, } from "utilities/constants"; -import { isIPadOrIPhone, Platform } from "interfaces/platform"; +import { isIPadOrIPhone } from "interfaces/platform"; import Spinner from "components/Spinner"; import TabsWrapper from "components/TabsWrapper"; @@ -479,7 +479,7 @@ const HostDetailsPage = ({ case "ios": return mdmConfig?.ios_updates; default: - null; + return undefined; } }; diff --git a/frontend/pages/hosts/details/OSSettingsModal/OSSettingsModal.tsx b/frontend/pages/hosts/details/OSSettingsModal/OSSettingsModal.tsx index a9c916f570..f86226a967 100644 --- a/frontend/pages/hosts/details/OSSettingsModal/OSSettingsModal.tsx +++ b/frontend/pages/hosts/details/OSSettingsModal/OSSettingsModal.tsx @@ -43,7 +43,7 @@ const OSSettingsModal = ({ title="OS settings" onExit={onClose} className={baseClass} - width="large" + width="xlarge" > <> { + console.log(hostMdmProfiles); // for windows hosts we have to manually add a profile for disk encryption // as this is not currently included in the `profiles` value from the API // response for windows hosts.