From 4a053dc9356259c8d9190d823ce74085625a49a2 Mon Sep 17 00:00:00 2001 From: Nassim Tabchiche Date: Wed, 14 Feb 2024 17:17:56 +0100 Subject: [PATCH] Manage policy CRUD operations --- .../src/lib/components/Forms/ModelForm.svelte | 6 ++++-- frontend/src/lib/utils/crud.ts | 17 +++++++++++++++++ frontend/src/lib/utils/schemas.ts | 12 ++++++++++++ frontend/src/lib/utils/table.ts | 4 ++++ frontend/src/lib/utils/types.ts | 1 + 5 files changed, 38 insertions(+), 2 deletions(-) diff --git a/frontend/src/lib/components/Forms/ModelForm.svelte b/frontend/src/lib/components/Forms/ModelForm.svelte index d28a68a18..2ad12a4de 100644 --- a/frontend/src/lib/components/Forms/ModelForm.svelte +++ b/frontend/src/lib/components/Forms/ModelForm.svelte @@ -144,8 +144,10 @@ field="threats" label="Threats" /> - {:else if URLModel === 'security-measures'} - + {/if}