From 35359a519a99fd7be5cd9818abcbeb5ea94cbc6a Mon Sep 17 00:00:00 2001 From: Andre Turner Date: Wed, 30 Oct 2024 17:52:31 -0500 Subject: [PATCH] Hide Notice severity level --- .../PnpValidation/PnPExtractionProblems.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/scenes/ProgressReports/PnpValidation/PnPExtractionProblems.tsx b/src/scenes/ProgressReports/PnpValidation/PnPExtractionProblems.tsx index ac5f6cf98..1afe99967 100644 --- a/src/scenes/ProgressReports/PnpValidation/PnPExtractionProblems.tsx +++ b/src/scenes/ProgressReports/PnpValidation/PnPExtractionProblems.tsx @@ -24,8 +24,13 @@ export const PnPExtractionProblems = memo(function PnPExtractionProblems({ result: Result; engagement: { id: string }; }) { + // Temporarily filter out problems with "Notice" severity + const filteredProblems = result.problems.filter( + (problem) => problem.severity !== 'Notice' + ); + const bySheet = groupToMapBy( - result.problems.toSorted( + filteredProblems.toSorted( cmpBy((problem) => priority.indexOf(problem.severity)) ), (p) => p.groups[0]!