Skip to content

Commit

Permalink
Hide Notice severity level
Browse files Browse the repository at this point in the history
  • Loading branch information
atGit2021 committed Oct 30, 2024
1 parent 63809e2 commit 35359a5
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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]!
Expand Down

0 comments on commit 35359a5

Please sign in to comment.