From 362705793c6e3a63da7fe17729716dcf1fe6f627 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Tue, 19 Mar 2024 16:21:46 +0000 Subject: [PATCH 1/3] Add event context for live eval to table blocks --- .../components/app/blocks/TableBlock.svelte | 42 ++++++++++++------- 1 file changed, 27 insertions(+), 15 deletions(-) diff --git a/packages/client/src/components/app/blocks/TableBlock.svelte b/packages/client/src/components/app/blocks/TableBlock.svelte index 7c58f90508..45ef4e4d3d 100644 --- a/packages/client/src/components/app/blocks/TableBlock.svelte +++ b/packages/client/src/components/app/blocks/TableBlock.svelte @@ -1,5 +1,6 @@ -{#if allowDeletion} - -
- -
- {#if !externalTable} - Edit - {/if} - Delete -
-{/if} + +
+ +
+ {#if !externalTable} + Edit + {/if} + Delete +