Skip to content

Commit

Permalink
fix: removes search for listings in cloud
Browse files Browse the repository at this point in the history
  • Loading branch information
mindspank committed Jan 31, 2025
1 parent 66b2c5c commit 7c1147e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
9 changes: 6 additions & 3 deletions web-admin/src/components/table/Table.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
export let columns: ColumnDef<unknown, unknown>[] = [];
export let columnVisibility: Record<string, boolean> = {};
export let kind: string;
export let toolbar: boolean = true;
const dispatch = createEventDispatcher();
Expand Down Expand Up @@ -72,9 +73,11 @@
$: data && rerender();
</script>

<slot name="toolbar">
<Toolbar />
</slot>
{#if toolbar}
<slot name="toolbar">
<Toolbar />
</slot>
{/if}

<table class="w-full">
<slot name="header" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
kind="alert"
{columns}
data={$alertQuery.data?.resource.alert.state.executionHistory}
toolbar={false}
>
<AlertHistoryTableHeader slot="header" />
</Table>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
kind="report"
{columns}
data={$reportQuery.data?.resource.report.state.executionHistory}
toolbar={false}
>
<ReportHistoryTableHeader slot="header" />
</Table>
Expand Down

0 comments on commit 7c1147e

Please sign in to comment.