Fix UI broken on main (#42524)
Fixes https://github.com/fleetdm/fleet/pull/42504/changes#diff-7616ec5052d5650a10c334f3d7a211aaeaa39f99b3d41d666931ec1796fcbabbR317
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user