Fx query page clearing selection after load (#28228)

# Checklist for submitter

- [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/Committing-Changes.md#changes-files)
for more information.

# Details

This PR fixes an issue where any selection made in the table on the
Manage Queries page would be cleared a few seconds after the page
loaded. The issue was due to a re-render happening after the `staleTime`
period elapsed, coupled with an array that was being re-created on every
render.
This commit is contained in:
Scott Gress
2025-04-16 10:10:21 -05:00
committed by GitHub
parent 895194d63b
commit dc3edfb3c7
2 changed files with 12 additions and 2 deletions
@@ -0,0 +1 @@
- Fixed an issue where selections made on the Queries page were cleared a few seconds after page load.