From 988afc2dac85c2b4d2e6fe9445f3cbdac817b1b0 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Mon, 21 Feb 2022 15:45:39 +0000 Subject: [PATCH] Add compact setting to table block --- packages/client/manifest.json | 5 +++++ packages/client/src/components/app/blocks/TableBlock.svelte | 2 ++ 2 files changed, 7 insertions(+) diff --git a/packages/client/manifest.json b/packages/client/manifest.json index ce5baaacf5..639efe5b79 100644 --- a/packages/client/manifest.json +++ b/packages/client/manifest.json @@ -2963,6 +2963,11 @@ "label": "Quiet table variant", "key": "quiet" }, + { + "type": "boolean", + "label": "Compact", + "key": "compact" + }, { "type": "boolean", "label": "Show auto columns", diff --git a/packages/client/src/components/app/blocks/TableBlock.svelte b/packages/client/src/components/app/blocks/TableBlock.svelte index 28dfc2891f..39d9be9a41 100644 --- a/packages/client/src/components/app/blocks/TableBlock.svelte +++ b/packages/client/src/components/app/blocks/TableBlock.svelte @@ -16,6 +16,7 @@ export let showAutoColumns export let rowCount export let quiet + export let compact export let size export let linkRows export let linkURL @@ -162,6 +163,7 @@ showAutoColumns, rowCount, quiet, + compact, size, linkRows, linkURL,