diff --git a/packages/app/src/components/form.fields/permissions/index.tsx b/packages/app/src/components/form.fields/permissions/index.tsx index 6c0ad32b9..889191849 100644 --- a/packages/app/src/components/form.fields/permissions/index.tsx +++ b/packages/app/src/components/form.fields/permissions/index.tsx @@ -19,6 +19,7 @@ Permissions.Actions = connect({ const { data = [], loading = true } = useRequest(() => { return api.resource('collections.actions').list({ associatedKey: resourceKey, + perPage: -1, }); }, { refreshDeps: [resourceKey] @@ -118,6 +119,7 @@ Permissions.Fields = connect<'TextArea'>({ const { data = [], loading = true } = useRequest(() => { return api.resource('collections.fields').list({ associatedKey: resourceKey, + perPage: -1, }); }, { refreshDeps: [resourceKey] @@ -211,6 +213,7 @@ Permissions.Tabs = connect<'TextArea'>({ const { data = [], loading = true, mutate } = useRequest(() => { return api.resource('collections.tabs').list({ associatedKey: resourceKey, + perPage: -1, }); }, { refreshDeps: [resourceKey]