From 297e11df6530e973ab697dd5cbf562cca2521685 Mon Sep 17 00:00:00 2001 From: Mohamed-Hacene Date: Mon, 30 Dec 2024 16:36:19 +0100 Subject: [PATCH] hotfix: remove ebios-rm table edit button --- .../lib/components/TableRowActions/TableRowActions.svelte | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/frontend/src/lib/components/TableRowActions/TableRowActions.svelte b/frontend/src/lib/components/TableRowActions/TableRowActions.svelte index 35f30b18d..0a15d1b05 100644 --- a/frontend/src/lib/components/TableRowActions/TableRowActions.svelte +++ b/frontend/src/lib/components/TableRowActions/TableRowActions.svelte @@ -66,7 +66,10 @@ $: displayDetail = detailURL; $: displayEdit = - canEditObject && URLModel && !['frameworks', 'risk-matrices'].includes(URLModel) && editURL; + canEditObject && + URLModel && + !['frameworks', 'risk-matrices', 'ebios-rm'].includes(URLModel) && + editURL; $: displayDelete = canDeleteObject && deleteForm !== undefined;