From c8d3870785a5bfc4b93fc9ea1ab026a07907a56e Mon Sep 17 00:00:00 2001 From: monsieurswag Date: Fri, 7 Jun 2024 10:29:25 +0200 Subject: [PATCH] Display colors for probability and impact risk matrix sections --- frontend/src/lib/components/RiskMatrix/RiskMatrix.svelte | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/frontend/src/lib/components/RiskMatrix/RiskMatrix.svelte b/frontend/src/lib/components/RiskMatrix/RiskMatrix.svelte index 64c408e1f..ccfbbdc32 100644 --- a/frontend/src/lib/components/RiskMatrix/RiskMatrix.svelte +++ b/frontend/src/lib/components/RiskMatrix/RiskMatrix.svelte @@ -37,7 +37,8 @@ {@const reverseIndex = displayedRiskMatrix.length - i - 1} {@const probability = parsedRiskMatrix.probability[reverseIndex]}
{#each parsedRiskMatrix.impact as impact}
{impact.name}