Skip to content

Commit 18c3515

Browse files
authored
MMI-3246 Fix report history (bcgov#2444)
1 parent e145b84 commit 18c3515

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

app/subscriber/src/features/my-reports/edit/view/ReportHistoryForm.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,7 @@ export const ReportHistoryForm = () => {
2626
try {
2727
const instances = await findInstancesForReportId(reportId);
2828
setInstances(
29-
instances.filter(
30-
(i, index) =>
31-
![ReportStatusName.Reopen, ReportStatusName.Completed].includes(i.status) && i.body,
32-
),
29+
instances.filter((i, index) => ![ReportStatusName.Reopen].includes(i.status) && i.body),
3330
);
3431
} catch {}
3532
},

0 commit comments

Comments
 (0)