diff --git a/frontend/src/lib/components/TableRowActions/TableRowActions.svelte b/frontend/src/lib/components/TableRowActions/TableRowActions.svelte index 66cdc381f..01e013c9f 100644 --- a/frontend/src/lib/components/TableRowActions/TableRowActions.svelte +++ b/frontend/src/lib/components/TableRowActions/TableRowActions.svelte @@ -69,9 +69,7 @@ $: displayDelete = canDeleteObject && deleteForm !== undefined; - + {#if !hasBody} diff --git a/frontend/src/routes/(app)/(internal)/[model=urlmodel]/+page.svelte b/frontend/src/routes/(app)/(internal)/[model=urlmodel]/+page.svelte index a1e1d2b8e..5c5430a75 100644 --- a/frontend/src/routes/(app)/(internal)/[model=urlmodel]/+page.svelte +++ b/frontend/src/routes/(app)/(internal)/[model=urlmodel]/+page.svelte @@ -49,35 +49,46 @@ {#key URLModel}
- {#if !['risk-matrices', 'frameworks', 'requirement-mapping-sets', 'user-groups', 'role-assignments'].includes(URLModel)} - - {#if URLModel === 'applied-controls'} + + {#if !['risk-matrices', 'frameworks', 'requirement-mapping-sets', 'user-groups', 'role-assignments'].includes(URLModel)} + + {#if URLModel === 'applied-controls'} + + {/if} + {:else if URLModel === 'risk-matrices'} {m.exportButton()} + {:else if URLModel === 'frameworks'} + + {:else if URLModel === 'requirement-mapping-sets'} + {/if} - {:else if URLModel === 'risk-matrices'} - {m.importMatrices()} - {:else if URLModel === 'frameworks'} - {m.importFrameworks()} - {:else if URLModel === 'requirement-mapping-sets'} - {m.importMappings()} - {/if} +
{/key} diff --git a/frontend/src/routes/(app)/(third-party)/[model=thirdparty_urlmodels]/+page.svelte b/frontend/src/routes/(app)/(third-party)/[model=thirdparty_urlmodels]/+page.svelte index 7c992a269..5c5430a75 100644 --- a/frontend/src/routes/(app)/(third-party)/[model=thirdparty_urlmodels]/+page.svelte +++ b/frontend/src/routes/(app)/(third-party)/[model=thirdparty_urlmodels]/+page.svelte @@ -49,31 +49,46 @@ {#key URLModel}
- {#if !['risk-matrices', 'frameworks', 'user-groups', 'role-assignments'].includes(URLModel)} - - {#if URLModel === 'applied-controls'} + + {#if !['risk-matrices', 'frameworks', 'requirement-mapping-sets', 'user-groups', 'role-assignments'].includes(URLModel)} + + {#if URLModel === 'applied-controls'} + + {/if} + {:else if URLModel === 'risk-matrices'} {m.exportButton()} + {:else if URLModel === 'frameworks'} + + {:else if URLModel === 'requirement-mapping-sets'} + {/if} - {:else if URLModel === 'risk-matrices'} - {m.importMatrices()} - {:else if URLModel === 'frameworks'} - {m.importFrameworks()} - {/if} +
{/key}