Skip to content

Commit

Permalink
IIIF Cloud #28 - Adding defaultSort prop to users list
Browse files Browse the repository at this point in the history
  • Loading branch information
dleadbetter committed Apr 4, 2023
1 parent 1fbcd22 commit f8966e3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/src/pages/Users.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ const Users: ComponentType<any> = withTranslation()(() => {
onClick: () => navigate('/users/new')
}}
collectionName='users'
defaultSort='name'
onLoad={(params) => UsersService.fetchAll(params)}
onDelete={(user) => UsersService.delete(user)}
renderHeader={(user) => user.name}
Expand Down

0 comments on commit f8966e3

Please sign in to comment.