increased profiles limit

This commit is contained in:
Sean Macfarlane
2020-08-24 16:32:26 -04:00
parent c416d87106
commit 6edc98af47
3 changed files with 4 additions and 4 deletions

View File

@@ -34,7 +34,7 @@ const Network = () => {
const { loading: loadingProfile, error: errorProfile, data: apProfiles } = useQuery(
GET_ALL_PROFILES(),
{
variables: { customerId, type: 'equipment_ap' },
variables: { customerId, type: 'equipment_ap', limit: 100 },
}
);

View File

@@ -78,11 +78,11 @@ const ProfileDetails = () => {
variables: { id },
});
const { data: ssidProfiles } = useQuery(GET_ALL_PROFILES(), {
variables: { customerId, type: 'ssid' },
variables: { customerId, type: 'ssid', limit: 100 },
});
const { data: radiusProfiles } = useQuery(GET_ALL_PROFILES(), {
variables: { customerId, type: 'radius' },
variables: { customerId, type: 'radius', limit: 100 },
});
const [updateProfile] = useMutation(UPDATE_PROFILE);

View File

@@ -23,7 +23,7 @@ const AutoProvision = () => {
const { data: dataProfile, loading: loadingProfile, error: errorProfile } = useQuery(
GET_ALL_PROFILES(),
{
variables: { customerId, type: 'equipment_ap' },
variables: { customerId, type: 'equipment_ap', limit: 100 },
}
);