[Fleet] Fix show all agent tags when agent list is filtered (#205163)

## Summary

Closes #164674 

Remove `kuery` in request parameters to get all agents tags.


![image](https://github.com/user-attachments/assets/229ac48b-e33e-4c2d-8062-04ce6dc86c2a)
This commit is contained in:
Jusheng Huang 2025-01-02 21:43:59 +08:00 committed by GitHub
parent 6461b7e26a
commit a92122425e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -228,7 +228,6 @@ export function useFetchAgentsData() {
full: false,
}),
sendGetAgentTags({
kuery: kuery && kuery !== '' ? kuery : undefined,
showInactive,
}),
sendGetActionStatus({