From 49b7db18fa7eee1ba5f3999964f900681c136f03 Mon Sep 17 00:00:00 2001 From: Jahziel Villasana-Espinoza Date: Mon, 9 Mar 2026 09:05:36 -0400 Subject: [PATCH] always show the filters and search bar (#41163) **Related issue:** Resolves #40327 # 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 --- changes/40327-filter | 1 + .../HostSoftwareLibraryTable.tsx | 10 ++-------- 2 files changed, 3 insertions(+), 8 deletions(-) create mode 100644 changes/40327-filter diff --git a/changes/40327-filter b/changes/40327-filter new file mode 100644 index 0000000000..5de998473a --- /dev/null +++ b/changes/40327-filter @@ -0,0 +1 @@ +- Updated host software library to always allow filtering. diff --git a/frontend/pages/hosts/details/cards/HostSoftwareLibrary/HostSoftwareLibraryTable/HostSoftwareLibraryTable.tsx b/frontend/pages/hosts/details/cards/HostSoftwareLibrary/HostSoftwareLibraryTable/HostSoftwareLibraryTable.tsx index ef0c2e938a..7d97b1e5eb 100644 --- a/frontend/pages/hosts/details/cards/HostSoftwareLibrary/HostSoftwareLibraryTable/HostSoftwareLibraryTable.tsx +++ b/frontend/pages/hosts/details/cards/HostSoftwareLibrary/HostSoftwareLibraryTable/HostSoftwareLibraryTable.tsx @@ -156,12 +156,6 @@ const HostSoftwareLibraryTable = ({ return ; }, [searchQuery]); - // Determines if a user should be able to filter or search in the table - const hasData = data && data.software.length > 0; - const hasQuery = searchQuery !== ""; - - const showFilterHeaders = hasData || hasQuery; - if (isAndroid(platform)) { return (