added msisdn on table
This commit is contained in:
@ -209,6 +209,15 @@ const ManageKycDeletionContextProvider = ({ children }: { children: React.ReactN
|
|||||||
headerClassName: 'w-[350px]'
|
headerClassName: 'w-[350px]'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
accessorFn: (row) => row.msisdn,
|
||||||
|
id: 'msdisdn',
|
||||||
|
header: ({ column }) => <DataGridColumnHeader title="Phone Number" column={column} />,
|
||||||
|
enableSorting: true,
|
||||||
|
meta: {
|
||||||
|
headerClassName: 'w-[350px]'
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
accessorFn: (row) => row.registered_email,
|
accessorFn: (row) => row.registered_email,
|
||||||
id: 'email',
|
id: 'email',
|
||||||
|
|||||||
@ -70,6 +70,20 @@ export const getColumns = (handleUpdate: (data: any) => void): ColumnDef<Members
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
accessorKey: 'msisdn',
|
||||||
|
header: ({ column }) => {
|
||||||
|
return (
|
||||||
|
<Button
|
||||||
|
variant="ghost"
|
||||||
|
onClick={() => column.toggleSorting(column.getIsSorted() === 'asc')}
|
||||||
|
>
|
||||||
|
Phone Number
|
||||||
|
<ArrowUpDown className="ml-2 h-4 w-4" />
|
||||||
|
</Button>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
accessorKey: 'group_name',
|
accessorKey: 'group_name',
|
||||||
header: ({ column }) => {
|
header: ({ column }) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user