diff --git a/src/lib/components/columnSelector.svelte b/src/lib/components/columnSelector.svelte index a1f614863..77510c802 100644 --- a/src/lib/components/columnSelector.svelte +++ b/src/lib/components/columnSelector.svelte @@ -181,13 +181,14 @@ {#if $columns?.length || showAnyway} + {@const showActions = $columns.length > 1} {@const placement = isNewStyle ? 'bottom-start' : 'bottom-end'} {@render children(toggle, selectedColumnsNumber)}
- {#if isNewStyle} + {#if isNewStyle && showActions} {/if} - + {#each filteredColumns as column} {#if !column?.exclude}