fix for View all host results on the Operating Systems table. (#10006)

The `View all host` button on Operating systems table would navigate to
the host page but not show the related hosts. This fixes that issue.

If some of the following don't apply, delete the relevant line.

**Before:**

https://www.loom.com/share/a29fc7064e694fac8dbdde571b409264

**After:**

https://www.loom.com/share/3adfa9b9ab7f4f498d7112b6d1052ea1

- [x] Manual QA for all new/changed functionality
This commit is contained in:
Gabriel Hernandez 2023-02-23 14:22:09 +00:00 committed by GitHub
parent 66bd7a7fb8
commit bc27289034
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -74,8 +74,8 @@ const defaultTableHeaders = [
<span className="hosts-cell__link">
<ViewAllHostsLink
queryParams={{
os_name: encodeURIComponent(name_only),
os_version: encodeURIComponent(version),
os_name: name_only,
os_version: version,
}}
className="os-hosts-link"
/>