fix broken search for manage host page (#8213)

This commit is contained in:
Gabriel Hernandez 2022-10-14 15:56:02 +01:00 committed by GitHub
parent 57c40ac056
commit 06a9e886a1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1598,14 +1598,7 @@ const ManageHostsPage = ({
};
const renderTable = () => {
if (
!config ||
!currentUser ||
!hosts ||
!teamSync ||
isHostCountLoading ||
isHostsLoading
) {
if (!config || !currentUser || !hosts || !teamSync) {
return <Spinner />;
}