Skip to content

Commit

Permalink
Remove language milestone reached grid filter
Browse files Browse the repository at this point in the history
  • Loading branch information
rdonigian authored and CarsonF committed Jan 7, 2025
1 parent 04aa813 commit 20e976b
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions src/components/EngagementDataGrid/EngagementColumns.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,13 +98,11 @@ export const EngagementColumns: Array<GridColDef<Engagement>> = [
field: 'milestoneReached',
...enumColumn(LanguageMilestoneList, LanguageMilestoneLabels),
width: 130,
valueGetter: (_, row) => {
if (row.__typename !== 'LanguageEngagement') {
return null;
}

return row.milestoneReached.value;
},
valueGetter: (_, row) =>
row.__typename === 'LanguageEngagement'
? row.milestoneReached.value
: null,
filterable: false,
},
{
headerName: 'Type',
Expand Down

0 comments on commit 20e976b

Please sign in to comment.