-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Fleet] fix for kuery error on Agent list UI (#162816)
## Summary Fix #160493 Fixed logic that queried managed agents to exclude them from bulk actions. It was not working properly if there are no managed agent policies. To verify: - Enroll 10 agents with horde - Limit rows per page to 5 - Select an agent policy that has more then 5 agents - Select everything on all pages - Check Network tab in Chrome Dev Tools that there is no error anymore in /agents API call <img width="2086" alt="image" src="https://github.com/elastic/kibana/assets/90178898/d8292a54-d443-4c0d-9111-f37975529561"> ### Checklist - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
- Loading branch information
1 parent
d103d43
commit df2c012
Showing
2 changed files
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters