Skip to content

Commit caab3c2

Browse files
authored
chore: Per-Page User Permissions Increase (#132)
* Project and Study level user permissions * Increase default per-page count to 25 * Options for 5, 10, 25
1 parent e8377b2 commit caab3c2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/client/src/pages/projects/ProjectUserPermissions.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,11 +129,11 @@ const UserPermissionTable: React.FC<{ project: Project }> = ({ project }) => {
129129
initialState={{
130130
pagination: {
131131
paginationModel: {
132-
pageSize: 5
132+
pageSize: 25
133133
}
134134
}
135135
}}
136-
pageSizeOptions={[5]}
136+
pageSizeOptions={[5, 10, 25]}
137137
disableRowSelectionOnClick
138138
/>
139139
);

packages/client/src/pages/studies/UserPermissions.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,11 +217,11 @@ const UserPermissionTable: React.FC<{ study: Study }> = ({ study }) => {
217217
initialState={{
218218
pagination: {
219219
paginationModel: {
220-
pageSize: 5
220+
pageSize: 25
221221
}
222222
}
223223
}}
224-
pageSizeOptions={[5]}
224+
pageSizeOptions={[5, 10, 25]}
225225
checkboxSelection
226226
disableRowSelectionOnClick
227227
/>

0 commit comments

Comments
 (0)