From 7eebaf3d4b36204c97798ac8f74cd07f5797da78 Mon Sep 17 00:00:00 2001 From: Mohamed-Hacene Date: Mon, 16 Dec 2024 13:11:14 +0100 Subject: [PATCH] Revert "feat: change operational scenario/attack path relationship" --- .../ModelForm/OperationalScenarioForm.svelte | 21 ++++++++++--------- .../[id=uuid]/+page.svelte | 2 +- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/frontend/src/lib/components/Forms/ModelForm/OperationalScenarioForm.svelte b/frontend/src/lib/components/Forms/ModelForm/OperationalScenarioForm.svelte index fc5707127..8dd9c15b5 100644 --- a/frontend/src/lib/components/Forms/ModelForm/OperationalScenarioForm.svelte +++ b/frontend/src/lib/components/Forms/ModelForm/OperationalScenarioForm.svelte @@ -72,16 +72,17 @@ bind:cachedValue={formDataCache['threats']} label={m.threats()} /> - + {#if context !== 'edit'} + + {/if}

- {m.attackPaths()} + {m.attackPath()}