Skip to content

Commit

Permalink
its just value now
Browse files Browse the repository at this point in the history
  • Loading branch information
chiaberry committed Mar 25, 2024
1 parent af3dec3 commit 291e63f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ const ProjectsListViewTable = () => {
getRowHeight={() => "auto"}
columnVisibilityModel={hiddenColumns}
onColumnVisibilityModelChange={(newModel) => {
console.log(newModel)
setHiddenColumns(newModel);
}}
slots={{
Expand Down
4 changes: 2 additions & 2 deletions moped-editor/src/views/projects/projectsListView/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ export const useColumns = ({ hiddenColumns }) => {
headerName: "Modified",
description: "Date record was last modified",
field: "updated_at",
valueFormatter: ({value}) => formatTimeStampTZType(value),
valueFormatter: (value) => formatTimeStampTZType(value),
flex: 1,
minWidth: COLUMN_WIDTHS.small,
},
Expand Down Expand Up @@ -296,7 +296,7 @@ export const useColumns = ({ hiddenColumns }) => {
{
headerName: "Construction start",
field: "construction_start_date",
valueFormatter: ({ value }) => value && formatDateType(value),
valueFormatter: (value) => value && formatDateType(value),
flex: 1,
minWidth: COLUMN_WIDTHS.small,
},
Expand Down

0 comments on commit 291e63f

Please sign in to comment.