diff --git a/packages/frontend-core/src/components/sheet/HeaderRow.svelte b/packages/frontend-core/src/components/sheet/HeaderRow.svelte index 4d24fdf98a..6e1e799ec3 100644 --- a/packages/frontend-core/src/components/sheet/HeaderRow.svelte +++ b/packages/frontend-core/src/components/sheet/HeaderRow.svelte @@ -5,7 +5,7 @@ import { getIconForField } from "./utils" import SheetScrollWrapper from "./SheetScrollWrapper.svelte" - const { visibleColumns, reorder, dispatch } = getContext("spreadsheet") + const { visibleColumns, reorder } = getContext("spreadsheet")
@@ -32,11 +32,6 @@ {/each}
-
dispatch("add-column")}> - - - -
diff --git a/packages/frontend-core/src/components/sheet/Sheet.svelte b/packages/frontend-core/src/components/sheet/Sheet.svelte index a61474501a..c9fcb09f0d 100644 --- a/packages/frontend-core/src/components/sheet/Sheet.svelte +++ b/packages/frontend-core/src/components/sheet/Sheet.svelte @@ -18,7 +18,6 @@ export let API export let tableId - export let allowAddColumns = true export let allowAddRows = true export let allowSelectRows = true export let filter @@ -33,7 +32,6 @@ tableId, filter, allowAddRows, - allowAddColumns, allowSelectRows, }) @@ -58,7 +56,6 @@ $: config.set({ tableId, filter, - allowAddColumns, allowAddRows, allowSelectRows, })