#38666: Fix host list UI "jumping" bug (#39022)

<!-- Add the related story/sub-task/bug number, like Resolves #123, or
remove if NA -->
**Related issue:** Resolves #38666 

# 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/guides/committing-changes.md#changes-files)
for more information.

## Testing

- [x] QA'd all new/changed functionality manually
This commit is contained in:
Rachael Shaw
2026-01-29 17:02:31 -06:00
committed by GitHub
parent 0453a62a1b
commit 4d2c7768c7
2 changed files with 5 additions and 1 deletions
+1
View File
@@ -0,0 +1 @@
* Fixed a UI bug where the host list was being pushed down when viewing with a platform filter.
@@ -604,7 +604,10 @@ const HostsFilterBlock = ({
);
};
const showSelectedLabel = selectedLabel && selectedLabel.type !== "all";
const showSelectedLabel =
selectedLabel &&
selectedLabel.type !== "all" &&
selectedLabel.type !== "platform";
if (
showSelectedLabel ||