refactor: reorder email and telefono columns in UsersTable for improved layout
This commit is contained in:
parent
c18f96b8c7
commit
4e41324624
1 changed files with 8 additions and 7 deletions
|
|
@ -154,12 +154,7 @@ export const UsersTable = (props: { data: UserWChatInfo[] }) => {
|
|||
/>
|
||||
),
|
||||
},
|
||||
{
|
||||
accessorKey: "email",
|
||||
header: ({ column }) => (
|
||||
<DataTableColumnHeader column={column} title={columns_titles.email} />
|
||||
),
|
||||
},
|
||||
|
||||
{
|
||||
accessorKey: "telefono",
|
||||
header: ({ column }) => (
|
||||
|
|
@ -169,6 +164,12 @@ export const UsersTable = (props: { data: UserWChatInfo[] }) => {
|
|||
/>
|
||||
),
|
||||
},
|
||||
{
|
||||
accessorKey: "email",
|
||||
header: ({ column }) => (
|
||||
<DataTableColumnHeader column={column} title={columns_titles.email} />
|
||||
),
|
||||
},
|
||||
{
|
||||
accessorKey: "created_at",
|
||||
cell: ({ row }) => {
|
||||
|
|
@ -372,7 +373,7 @@ export const UsersTable = (props: { data: UserWChatInfo[] }) => {
|
|||
email: true,
|
||||
telefono: true,
|
||||
isAdmin: true,
|
||||
isBanned: false,
|
||||
isBlocked: false,
|
||||
username: true,
|
||||
}}
|
||||
defaultSort={[{ desc: true, id: "created_at" }]}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue