mirror of https://github.com/portainer/portainer
fix(edge/update): show environment count when more than 100 [EE-6424] (#11917)
parent
51f9977885
commit
a28bd349ae
|
@ -3,7 +3,7 @@ import { EdgeTypes, EnvironmentId } from '@/react/portainer/environments/types';
|
|||
|
||||
export function useEnvironments(environmentsIds: Array<EnvironmentId>) {
|
||||
const environmentsQuery = useEnvironmentList(
|
||||
{ endpointIds: environmentsIds, types: EdgeTypes },
|
||||
{ endpointIds: environmentsIds, types: EdgeTypes, pageLimit: 0 },
|
||||
{
|
||||
enabled: environmentsIds.length > 0,
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue