From 63809e294ea8a23df82779dcea93b23edc3afd07 Mon Sep 17 00:00:00 2001 From: rdonigian <167127316+rdonigian@users.noreply.github.com> Date: Wed, 30 Oct 2024 15:16:17 -0400 Subject: [PATCH] Temp limit Progress Reports to only Active/Completed Projects (#1614) Until the logic to delete/not-create "useless" reports is applied in the API, we will filter them out here. --- .../Dashboard/ProgressReportsWidget/ProgressReportsGrid.tsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/scenes/Dashboard/ProgressReportsWidget/ProgressReportsGrid.tsx b/src/scenes/Dashboard/ProgressReportsWidget/ProgressReportsGrid.tsx index 27c3b1590..220f71e60 100644 --- a/src/scenes/Dashboard/ProgressReportsWidget/ProgressReportsGrid.tsx +++ b/src/scenes/Dashboard/ProgressReportsWidget/ProgressReportsGrid.tsx @@ -191,6 +191,11 @@ export const ProgressReportsGrid = ({ end: { beforeInclusive: quarter.endOf('quarter'), }, + engagement: { + project: { + status: ['Active', 'Completed'], + }, + }, }, }, },