update: use correct var name.

This commit is contained in:
Darshan
2025-05-21 15:17:54 +05:30
parent 3519900928
commit 7e6dffc19c
2 changed files with 4 additions and 4 deletions
@@ -43,7 +43,7 @@
</ResponsiveContainerHeader>
{#if data?.executions?.total}
<Table columns={$columns} logs={data.executions} />
<Table columns={$columns} executions={data.executions} />
<PaginationWithLimit
name="Executions"
@@ -26,7 +26,7 @@
import { Button } from '$lib/elements/forms';
export let columns: Column[];
export let logs: Models.ExecutionList;
export let executions: Models.ExecutionList;
let open = false;
let selectedLogId: string = null;
@@ -69,7 +69,7 @@
<Table.Header.Cell column={id} {root}>{title}</Table.Header.Cell>
{/each}
</svelte:fragment>
{#each logs.executions as log (log.$id)}
{#each executions.executions as log (log.$id)}
<Table.Row.Button
{root}
id={log.$id}
@@ -129,7 +129,7 @@
{/each}
</Table.Root>
<Sheet bind:open bind:selectedLogId logs={logs.executions} logging={$func.logging} />
<Sheet bind:open bind:selectedLogId logs={executions.executions} logging={$func.logging} />
{#if selectedRows.length > 0}
<FloatingActionBar>