1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-23 00:22:19 +01:00

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)
This commit is contained in:
Nuno Góis 2023-01-09 19:36:49 +00:00 committed by GitHub
parent 997dbbbea5
commit 297f9579fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -105,15 +105,6 @@ const UsersList = () => {
disableGlobalFilter: true, disableGlobalFilter: true,
sortType: 'boolean', sortType: 'boolean',
}, },
{
Header: 'Created',
accessor: 'createdAt',
Cell: DateCell,
disableGlobalFilter: true,
sortType: 'date',
width: 120,
maxWidth: 120,
},
{ {
Header: 'Avatar', Header: 'Avatar',
accessor: 'imageUrl', accessor: 'imageUrl',
@ -147,6 +138,15 @@ const UsersList = () => {
disableGlobalFilter: true, disableGlobalFilter: true,
maxWidth: 120, maxWidth: 120,
}, },
{
Header: 'Created',
accessor: 'createdAt',
Cell: DateCell,
disableGlobalFilter: true,
sortType: 'date',
width: 120,
maxWidth: 120,
},
{ {
id: 'last-login', id: 'last-login',
Header: 'Last login', Header: 'Last login',