fix: IACE mitigations page — remove broken 'm.' prefix + accept 'protective' type

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Benjamin Admin
2026-05-05 15:52:10 +02:00
parent e3ae35891f
commit 3ac8d0cba8
2 changed files with 12 additions and 12 deletions
@@ -128,7 +128,7 @@ export function useMitigations(projectId: string) {
const byType = {
design: mitigations.filter((m) => m.reduction_type === 'design'),
protection: mitigations.filter((m) => m.reduction_type === 'protection'),
protection: mitigations.filter((m) => m.reduction_type === 'protection' || m.reduction_type === 'protective'),
information: mitigations.filter((m) => m.reduction_type === 'information'),
}