diff --git a/packages/builder/src/components/backend/DataTable/buttons/grid/GridRowActionsButton.svelte b/packages/builder/src/components/backend/DataTable/buttons/grid/GridRowActionsButton.svelte index c44c2d0f1c..193a977a46 100644 --- a/packages/builder/src/components/backend/DataTable/buttons/grid/GridRowActionsButton.svelte +++ b/packages/builder/src/components/backend/DataTable/buttons/grid/GridRowActionsButton.svelte @@ -23,8 +23,7 @@ $: tableId = ds?.tableId $: isView = ds?.type === "viewV2" $: fetchRowActions(tableId) - $: viewActiveCount = 0 - $: actionCount = isView ? viewActiveCount : rowActions.length + $: actionCount = rowActions.filter(action => !isView || action.enabled).length const rowActionUrl = derived([url, appStore], ([$url, $appStore]) => { return ({ automationId }) => { diff --git a/packages/builder/src/pages/builder/app/[application]/data/table/[tableId]/index.svelte b/packages/builder/src/pages/builder/app/[application]/data/table/[tableId]/index.svelte index 15b4303473..49e78a9428 100644 --- a/packages/builder/src/pages/builder/app/[application]/data/table/[tableId]/index.svelte +++ b/packages/builder/src/pages/builder/app/[application]/data/table/[tableId]/index.svelte @@ -146,10 +146,10 @@ {#if !isUsersTable} {/if} + generateButton?.show()} /> generateButton?.show()} /> - generateButton?.show()} /> {#if !isUsersTable} {/if}