From 623733bb6476b5c88a6d6934aace5ea278b4e5e3 Mon Sep 17 00:00:00 2001 From: monsieurswag Date: Wed, 11 Sep 2024 12:23:22 +0200 Subject: [PATCH] Fix wrong button name in applied control list view --- .../(app)/[model=urlmodel]/+page.svelte | 24 +++++++------------ 1 file changed, 9 insertions(+), 15 deletions(-) diff --git a/frontend/src/routes/(app)/[model=urlmodel]/+page.svelte b/frontend/src/routes/(app)/[model=urlmodel]/+page.svelte index 41bcfe69c..dcf49cb4b 100644 --- a/frontend/src/routes/(app)/[model=urlmodel]/+page.svelte +++ b/frontend/src/routes/(app)/[model=urlmodel]/+page.svelte @@ -50,7 +50,7 @@ {#key URLModel}
- {#if !['risk-matrices', 'frameworks', 'user-groups', 'role-assignments', 'applied-controls'].includes(URLModel)} + {#if !['risk-matrices', 'frameworks', 'user-groups', 'role-assignments'].includes(URLModel)} - {:else if URLModel === 'applied-controls'} - - {m.exportButton()} + {#if URLModel === 'applied-controls'} + {m.exportButton()} + {/if} {:else if URLModel === 'risk-matrices'} {m.importMatrices()}