userGrid joinDate field removed
This commit is contained in:
1 parent
02879cefd1
commit
1a2bd83e8d
3 files changed
+62
-13
No files matched your search
@@ -245,15 +245,15 @@ export function UserGrid({
|
||||
},
|
||||
minWidth: 180,
|
||||
},
|
||||
{
|
||||
headerName: "Join Date",
|
||||
valueGetter: (params) =>
|
||||
params.data?.client?.joinDate || params.data?.createdAt,
|
||||
filter: "agDateColumnFilter",
|
||||
sortable: true,
|
||||
valueFormatter: (params: any) => formatDate(new Date(params.value)),
|
||||
minWidth: 120,
|
||||
},
|
||||
// {
|
||||
// headerName: "Join Date",
|
||||
// valueGetter: (params) =>
|
||||
// params.data?.client?.joinDate || params.data?.createdAt,
|
||||
// filter: "agDateColumnFilter",
|
||||
// sortable: true,
|
||||
// valueFormatter: (params: any) => formatDate(new Date(params.value)),
|
||||
// minWidth: 120,
|
||||
// },
|
||||
{
|
||||
headerName: "Last Visit",
|
||||
valueGetter: (params) => params.data?.client?.lastVisit,
|
||||
|
||||
Reference in new issue
Block a user