refactor: reorder email and telefono columns in UsersTable for improved layout

This commit is contained in:
Marco Pedone 2026-03-10 18:05:15 +01:00
parent c18f96b8c7
commit 4e41324624

View file

@ -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" }]}