Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Fleet] fixed bug where installed beta integration was visible multip…
…le times (#150979) ## Summary Fixes #150969 Filtering for only uploaded packages that are not in registry. This fixes of bug of linux integration showing up multiple times when the `/packages` call with `prerelease:false` and `prerelease:true` options are quickly following each other. To verify: - Navigate to Integrations, search `linux`. - Add linux integration to agent policy. - Repeat the same process again. - Navigate back to Integrations and search `linux`. - Only one Linux metrics integration card should be visible. <img width="1009" alt="image" src="https://user-images.githubusercontent.com/90178898/218418246-ffd8f9ed-796b-4ba9-97d2-5a93165c384b.png"> Uploaded integrations are still visible: <img width="1006" alt="image" src="https://user-images.githubusercontent.com/90178898/218418791-82d41523-b8ec-4a37-9e14-cfd67e889ba7.png"> ### 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