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 (