Skip to content

Commit

Permalink
feat: move createdAt col on users (#2853)
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
nunogois committed Jan 9, 2023
1 parent 997dbbb commit 297f957
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions frontend/src/component/admin/users/UsersList/UsersList.tsx
Expand Up @@ -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',
Expand Down Expand Up @@ -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',
Expand Down

0 comments on commit 297f957

Please sign in to comment.