Skip to content

Commit 9145709

Browse files
authored
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.
1 parent b1b929a commit 9145709

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* Fixed case consistency for "Disk encryption" in host OS settings modal

frontend/pages/hosts/details/OSSettingsModal/OSSettingsTable/OSSettingsTableConfig.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ const generateTableConfig = (
8686
const { name, platform, status } = cellProps.row.original;
8787
const isFailedWindowsDiskEncryption =
8888
platform === "windows" &&
89-
name === "Disk Encryption" &&
89+
name === "Disk encryption" &&
9090
status === "failed";
9191
return (
9292
<OSSettingsErrorCell

frontend/pages/hosts/details/helpers.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export const generateWinDiskEncryptionSetting = (
3737
return {
3838
profile_uuid: "0", // This is the only type of profile that can have this value
3939
platform: "windows",
40-
name: "Disk Encryption",
40+
name: "Disk encryption",
4141
status: convertWinDiskEncryptionStatusToSettingStatus(diskEncryptionStatus),
4242
detail: generateWindowsDiskEncryptionMessage(diskEncryptionStatus, detail),
4343
operation_type: null,
@@ -57,7 +57,7 @@ export const generateLinuxDiskEncryptionSetting = (
5757
return {
5858
profile_uuid: "0", // This is the only type of profile that can have this value
5959
platform: "linux",
60-
name: "Disk Encryption",
60+
name: "Disk encryption",
6161
status: diskEncryptionStatus,
6262
detail,
6363
operation_type: null,

0 commit comments

Comments
 (0)