Co-authored-by: Nicolas Chaulet <nicolas.chaulet@elastic.co>
This commit is contained in:
parent
76c31dafe4
commit
81329ce6e4
|
@ -343,7 +343,7 @@ const AvailablePackages: React.FC = memo(() => {
|
|||
isLoadingCategories,
|
||||
]);
|
||||
|
||||
if (!categoryExists(selectedCategory, categories)) {
|
||||
if (!isLoadingCategories && !categoryExists(selectedCategory, categories)) {
|
||||
history.replace(pagePathGetters.integrations_all({ category: '', searchTerm: searchParam })[1]);
|
||||
return null;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue