From f8966e386289cdbfd3261ff2da28c8682d69c96e Mon Sep 17 00:00:00 2001 From: Derek Leadbetter Date: Tue, 4 Apr 2023 06:35:20 -0400 Subject: [PATCH] IIIF Cloud #28 - Adding defaultSort prop to users list --- client/src/pages/Users.js | 1 + 1 file changed, 1 insertion(+) diff --git a/client/src/pages/Users.js b/client/src/pages/Users.js index f92ae5e..e7dd6a1 100644 --- a/client/src/pages/Users.js +++ b/client/src/pages/Users.js @@ -22,6 +22,7 @@ const Users: ComponentType = withTranslation()(() => { onClick: () => navigate('/users/new') }} collectionName='users' + defaultSort='name' onLoad={(params) => UsersService.fetchAll(params)} onDelete={(user) => UsersService.delete(user)} renderHeader={(user) => user.name}