From 4e41324624ea89a02e2474960ec5088f66944b69 Mon Sep 17 00:00:00 2001 From: Marco Pedone Date: Tue, 10 Mar 2026 18:05:15 +0100 Subject: [PATCH] refactor: reorder email and telefono columns in UsersTable for improved layout --- .../src/components/tables/users-table.tsx | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/apps/infoalloggi/src/components/tables/users-table.tsx b/apps/infoalloggi/src/components/tables/users-table.tsx index 878d11b..c80334e 100644 --- a/apps/infoalloggi/src/components/tables/users-table.tsx +++ b/apps/infoalloggi/src/components/tables/users-table.tsx @@ -154,12 +154,7 @@ export const UsersTable = (props: { data: UserWChatInfo[] }) => { /> ), }, - { - accessorKey: "email", - header: ({ column }) => ( - - ), - }, + { accessorKey: "telefono", header: ({ column }) => ( @@ -169,6 +164,12 @@ export const UsersTable = (props: { data: UserWChatInfo[] }) => { /> ), }, + { + accessorKey: "email", + header: ({ column }) => ( + + ), + }, { 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" }]}