From 297f9579fd41431e7fcb5f0970484194a86e82c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nuno=20G=C3=B3is?= Date: Mon, 9 Jan 2023 19:36:49 +0000 Subject: [PATCH] feat: move createdAt col on users (#2853) Small UI/UX change. After discussing with @NicolaeUnleash we decided that moving this column in the users table over to the right next to "last login" would improve readability and consistency. ![image](https://user-images.githubusercontent.com/14320932/211355575-bd9cbf87-baa5-4133-9fb4-14882d58dd07.png) --- .../admin/users/UsersList/UsersList.tsx | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/frontend/src/component/admin/users/UsersList/UsersList.tsx b/frontend/src/component/admin/users/UsersList/UsersList.tsx index 1d65f047c6..668572df7c 100644 --- a/frontend/src/component/admin/users/UsersList/UsersList.tsx +++ b/frontend/src/component/admin/users/UsersList/UsersList.tsx @@ -105,15 +105,6 @@ const UsersList = () => { disableGlobalFilter: true, sortType: 'boolean', }, - { - Header: 'Created', - accessor: 'createdAt', - Cell: DateCell, - disableGlobalFilter: true, - sortType: 'date', - width: 120, - maxWidth: 120, - }, { Header: 'Avatar', accessor: 'imageUrl', @@ -147,6 +138,15 @@ const UsersList = () => { disableGlobalFilter: true, maxWidth: 120, }, + { + Header: 'Created', + accessor: 'createdAt', + Cell: DateCell, + disableGlobalFilter: true, + sortType: 'date', + width: 120, + maxWidth: 120, + }, { id: 'last-login', Header: 'Last login',