fixed ux problems

This commit is contained in:
Zai Shi 2024-05-16 16:13:18 +02:00
parent 82e3e43655
commit 372bd3296a

View File

@ -134,17 +134,17 @@ function capitalizeFirstLetter(s: string) {
}
export const commonUserColumns: ColumnDef<ExtendedServerUser>[] = [
{
accessorKey: "id",
header: ({ column }) => <DataTableColumnHeader column={column} title="ID" />,
cell: ({ row }) => <TextCell size={60}>{row.original.id}</TextCell>,
},
{
accessorKey: "profileImageUrl",
header: ({ column }) => <DataTableColumnHeader column={column} title="Avatar" />,
cell: ({ row }) => <AvatarCell src={row.original.profileImageUrl || undefined} />,
enableSorting: false,
},
{
accessorKey: "id",
header: ({ column }) => <DataTableColumnHeader column={column} title="ID" />,
cell: ({ row }) => <TextCell size={60}>{row.original.id}</TextCell>,
},
{
accessorKey: "displayName",
header: ({ column }) => <DataTableColumnHeader column={column} title="Display Name" />,