Skip to content

Commit 32b9490

Browse files
committed
cleanup
1 parent 1d1e9b5 commit 32b9490

File tree

4 files changed

+2
-4
lines changed

4 files changed

+2
-4
lines changed

src/api/services/usersService.ts

-1
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,6 @@ export const inviteUserToParticipant = async (
200200
};
201201

202202
export const getAdminUserList = async () => {
203-
// do we want any other filtering here?
204203
const userList = await User.query().where('deleted', 0).orderBy('email');
205204
return userList;
206205
};

src/web/components/UserManagement/UserManagementItem.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export function UserManagementItem({ user }: UserManagementItemProps) {
1313
<td>{user.firstName}</td>
1414
<td>{user.lastName}</td>
1515
<td>{user.jobFunction}</td>
16-
<td>{user.acceptedTerms}</td>
16+
<td>{user.acceptedTerms ? 'True' : 'False'}</td>
1717
<td />
1818
<td />
1919
</tr>

src/web/components/UserManagement/UserManagementTable.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function NoUsers() {
2424
}
2525

2626
function UserManagementTableContent({ users }: UserManagementTableProps) {
27-
const initialRowsPerPage = 10;
27+
const initialRowsPerPage = 25;
2828
const initialPageNumber = 1;
2929

3030
const [rowsPerPage, setRowsPerPage] = useState<RowsPerPageValues>(initialRowsPerPage);

src/web/screens/manageUsers.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ export const ManageUsersRoute: PortalRoute = {
3636
description: 'Manage Users',
3737
element: <ManageUsers />,
3838
errorElement: <RouteErrorBoundary />,
39-
// ****** should we change the route here?
4039
path: '/participant/:participantId/manageUsers',
4140
loader,
4241
};

0 commit comments

Comments
 (0)