diff --git a/src/components/EngagementDataGrid/EngagementColumns.tsx b/src/components/EngagementDataGrid/EngagementColumns.tsx index 34d7f8e82..f7dd495ba 100644 --- a/src/components/EngagementDataGrid/EngagementColumns.tsx +++ b/src/components/EngagementDataGrid/EngagementColumns.tsx @@ -10,6 +10,8 @@ import { EngagementFilters } from '~/api/schema.graphql'; import { EngagementStatusLabels, EngagementStatusList, + LanguageMilestoneLabels, + LanguageMilestoneList, ProgressReportStatusLabels, ProgressReportStatusList, ProjectStatusLabels, @@ -91,6 +93,19 @@ export const EngagementColumns: Array> = [ hideable: false, serverFilter: (value): EngagementFilters => ({ engagedName: value }), }, + { + headerName: 'Milestone', + field: 'milestoneReached', + ...enumColumn(LanguageMilestoneList, LanguageMilestoneLabels), + width: 130, + valueGetter: (_, row) => { + if (row.__typename !== 'LanguageEngagement') { + return null; + } + + return row.milestoneReached.value; + }, + }, { headerName: 'Type', field: 'project.type',