From 7e8e74f1279df680f03b4aa7194fdaf7057db8bd Mon Sep 17 00:00:00 2001 From: Abderrahmane Smimite Date: Thu, 7 Nov 2024 13:40:00 +0100 Subject: [PATCH 01/12] Step 1: cleaning up --- .../[id=uuid]/edit/+page.svelte | 81 +++++++------------ 1 file changed, 30 insertions(+), 51 deletions(-) diff --git a/frontend/src/routes/(app)/(internal)/risk-scenarios/[id=uuid]/edit/+page.svelte b/frontend/src/routes/(app)/(internal)/risk-scenarios/[id=uuid]/edit/+page.svelte index 9253fb967..d76848e2a 100644 --- a/frontend/src/routes/(app)/(internal)/risk-scenarios/[id=uuid]/edit/+page.svelte +++ b/frontend/src/routes/(app)/(internal)/risk-scenarios/[id=uuid]/edit/+page.svelte @@ -122,6 +122,7 @@ const impactColorMap = data.riskMatrix.impact.map((impact) => impact.hexcolor); +{@debug data}
-
-

{m.scope()}

-
- +
+
+

{m.project()}

{data.scenario.project.str} - - - -

{m.version()}

-

{data.scenario.version}

-
+
+
+

{m.riskAssessment()}

+ {data.scenario.risk_assessment.name} +
-

{m.status()}

-
-

{m.lastUpdate()}

-

- {new Date(data.scenario.updated_at).toLocaleString(languageTag())} -

-
-
+
-
+