Skip to content

Commit

Permalink
add a new filter to the progress reports grid on project status
Browse files Browse the repository at this point in the history
  • Loading branch information
rdonigian committed Oct 25, 2024
1 parent cc9747a commit f54b7a3
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,13 @@ import {
GridColDef,
GridRenderCellParams as RenderCellParams,
} from '@mui/x-data-grid-pro';
import { merge } from 'lodash';
import { merge, without } from 'lodash';
import { useMemo } from 'react';
import { SetOptional } from 'type-fest';
import {
ProgressReportStatusLabels,
ProgressReportStatusList,
ProjectStatusList,
ScheduleStatusLabels,
ScheduleStatusList,
} from '~/api/schema.graphql';
Expand Down Expand Up @@ -191,6 +192,9 @@ export const ProgressReportsGrid = ({
end: {
beforeInclusive: quarter.endOf('quarter'),
},
project: {
status: without(ProjectStatusList, 'InDevelopment'),
},
},
},
},
Expand Down

0 comments on commit f54b7a3

Please sign in to comment.