diff --git a/changes/38666-hosts-ui-bug b/changes/38666-hosts-ui-bug new file mode 100644 index 0000000000..ef0ddf496a --- /dev/null +++ b/changes/38666-hosts-ui-bug @@ -0,0 +1 @@ +* Fixed a UI bug where the host list was being pushed down when viewing with a platform filter. \ No newline at end of file diff --git a/frontend/pages/hosts/ManageHostsPage/components/HostsFilterBlock/HostsFilterBlock.tsx b/frontend/pages/hosts/ManageHostsPage/components/HostsFilterBlock/HostsFilterBlock.tsx index f88eee04cc..f9db271166 100644 --- a/frontend/pages/hosts/ManageHostsPage/components/HostsFilterBlock/HostsFilterBlock.tsx +++ b/frontend/pages/hosts/ManageHostsPage/components/HostsFilterBlock/HostsFilterBlock.tsx @@ -604,7 +604,10 @@ const HostsFilterBlock = ({ ); }; - const showSelectedLabel = selectedLabel && selectedLabel.type !== "all"; + const showSelectedLabel = + selectedLabel && + selectedLabel.type !== "all" && + selectedLabel.type !== "platform"; if ( showSelectedLabel ||