fix(frontend): App table action button cell (#1149)

Co-authored-by: Faton Ramadani <faton.ramadani14@gmail.com>
This commit is contained in:
Ádám Kovács
2023-01-24 12:20:27 +01:00
committed by GitHub
parent 7276244d68
commit 2def9cbb18
@@ -211,18 +211,20 @@
{#if actionButtons.length > 0}
<td
class="flex w-full flex-row gap-2 p-4"
class="p-2 "
on:click={() => toggleRow(row, rowIndex)}
>
{#each actionButtons as actionButton, actionIndex (actionIndex)}
<AppButton
noWFull
{...actionButton}
extraQueryParams={{ row: row.original }}
bind:componentInput={actionButton.componentInput}
bind:staticOutputs={$staticOutputsStore[actionButton.id]}
/>
{/each}
<div class="center-center h-full w-full flex-wrap gap-1">
{#each actionButtons as actionButton, actionIndex (actionIndex)}
<AppButton
noWFull
{...actionButton}
extraQueryParams={{ row: row.original }}
bind:componentInput={actionButton.componentInput}
bind:staticOutputs={$staticOutputsStore[actionButton.id]}
/>
{/each}
</div>
</td>
{/if}
</tr>