fix column search double at manage groups
This commit is contained in:
@ -9,6 +9,7 @@ import {
|
||||
} from '@/components/ui/dropdown-menu';
|
||||
import { ColumnDef } from '@tanstack/react-table';
|
||||
import { ArrowUpDown, MoreHorizontal } from 'lucide-react';
|
||||
import moment from 'moment';
|
||||
|
||||
export type Members = {
|
||||
// id: number;
|
||||
@ -117,7 +118,7 @@ export const getColumns = (handleUpdate: (data: any) => void): ColumnDef<Members
|
||||
</Button>
|
||||
);
|
||||
},
|
||||
cell: ({ row }) => new Date(row.original.created_at).toLocaleDateString()
|
||||
cell: ({ row }) => moment(row.original.created_at).format('YYYY-MM-DD HH:mm:ss')
|
||||
},
|
||||
{
|
||||
id: 'actions',
|
||||
|
||||
Reference in New Issue
Block a user