From 38f326dce4b1f4044483cd9c7fe649882690d617 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Tue, 11 Apr 2023 23:25:19 +0100 Subject: [PATCH] Fix filters not working --- .../backend/DataTable/buttons/sheet/SheetFilterButton.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/builder/src/components/backend/DataTable/buttons/sheet/SheetFilterButton.svelte b/packages/builder/src/components/backend/DataTable/buttons/sheet/SheetFilterButton.svelte index 06ed5953a6..0450ae0cdf 100644 --- a/packages/builder/src/components/backend/DataTable/buttons/sheet/SheetFilterButton.svelte +++ b/packages/builder/src/components/backend/DataTable/buttons/sheet/SheetFilterButton.svelte @@ -2,7 +2,7 @@ import TableFilterButton from "../TableFilterButton.svelte" import { getContext } from "svelte" - const { columns, config, filter, schema } = getContext("sheet") + const { columns, config, filter, table } = getContext("sheet") const onFilter = e => { filter.set(e.detail || []) @@ -11,7 +11,7 @@ {#key $config.tableId}