From 0c4e4e46739b63e15ac5b7fde9d64b4bd15313b0 Mon Sep 17 00:00:00 2001 From: jacobshandling <61553566+jacobshandling@users.noreply.github.com> Date: Thu, 26 Mar 2026 14:59:17 -0700 Subject: [PATCH] Fix UI broken on `main` (#42524) Fixes https://github.com/fleetdm/fleet/pull/42504/changes#diff-7616ec5052d5650a10c334f3d7a211aaeaa39f99b3d41d666931ec1796fcbabbR317 --- frontend/pages/hosts/ManageHostsPage/ManageHostsPage.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/pages/hosts/ManageHostsPage/ManageHostsPage.tsx b/frontend/pages/hosts/ManageHostsPage/ManageHostsPage.tsx index 45934c3c39..17befe144d 100644 --- a/frontend/pages/hosts/ManageHostsPage/ManageHostsPage.tsx +++ b/frontend/pages/hosts/ManageHostsPage/ManageHostsPage.tsx @@ -314,7 +314,7 @@ const ManageHostsPage = ({ (scriptBatchExecutionId ? "ran" : undefined); const depProfileError = queryParams?.dep_profile_error; /** URL converts to lowercase but API and UI requires uppercase */ - const depAssignProfileResponse = queryParams?.dep_assign_profile_response.toUpperCase(); + const depAssignProfileResponse = queryParams?.dep_assign_profile_response?.toUpperCase(); // ========= routeParams const { active_label: activeLabel, label_id: labelID } = routeParams;