From 9145709c0e16e56c80cc3d3cf72d968ec9179a13 Mon Sep 17 00:00:00 2001 From: Ian Littman Date: Sat, 1 Feb 2025 20:14:03 -0600 Subject: [PATCH] Switch "Disk encryption" casing for Windows/Linux profiles (#25801) For #25191 # Checklist for submitter If some of the following don't apply, delete the relevant line. - [x] Changes file added for user-visible changes in `changes/`, `orbit/changes/` or `ee/fleetd-chrome/changes`. See [Changes files](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/Committing-Changes.md#changes-files) for more information. - [x] Manual QA for all new/changed functionality I can QA this later but @RachelElysia lmk if you can beat me to it. Requires a Linux host and a Windows host enrolled, which I'll have soon but don't have right this second. --- changes/25191-disk-encryption-sentence-case | 1 + .../OSSettingsModal/OSSettingsTable/OSSettingsTableConfig.tsx | 2 +- frontend/pages/hosts/details/helpers.ts | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 changes/25191-disk-encryption-sentence-case diff --git a/changes/25191-disk-encryption-sentence-case b/changes/25191-disk-encryption-sentence-case new file mode 100644 index 0000000000..38901732ed --- /dev/null +++ b/changes/25191-disk-encryption-sentence-case @@ -0,0 +1 @@ +* Fixed case consistency for "Disk encryption" in host OS settings modal diff --git a/frontend/pages/hosts/details/OSSettingsModal/OSSettingsTable/OSSettingsTableConfig.tsx b/frontend/pages/hosts/details/OSSettingsModal/OSSettingsTable/OSSettingsTableConfig.tsx index 34d24563ef..0cd95ec675 100644 --- a/frontend/pages/hosts/details/OSSettingsModal/OSSettingsTable/OSSettingsTableConfig.tsx +++ b/frontend/pages/hosts/details/OSSettingsModal/OSSettingsTable/OSSettingsTableConfig.tsx @@ -86,7 +86,7 @@ const generateTableConfig = ( const { name, platform, status } = cellProps.row.original; const isFailedWindowsDiskEncryption = platform === "windows" && - name === "Disk Encryption" && + name === "Disk encryption" && status === "failed"; return (