From 5a891054cbc0bcc6f8b48fcdb72b64bb0ed11f66 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Fri, 19 Mar 2021 14:04:37 +0000 Subject: [PATCH] Update DeleteRow button action to take explicit props and fix massive width --- .../EventsEditor/actions/DeleteRow.svelte | 74 +++++++------------ 1 file changed, 26 insertions(+), 48 deletions(-) diff --git a/packages/builder/src/components/design/PropertiesPanel/PropertyControls/EventsEditor/actions/DeleteRow.svelte b/packages/builder/src/components/design/PropertiesPanel/PropertyControls/EventsEditor/actions/DeleteRow.svelte index ca8cd561bf..7353be33e9 100644 --- a/packages/builder/src/components/design/PropertiesPanel/PropertyControls/EventsEditor/actions/DeleteRow.svelte +++ b/packages/builder/src/components/design/PropertiesPanel/PropertyControls/EventsEditor/actions/DeleteRow.svelte @@ -1,53 +1,35 @@
- {#if dataProviderComponents.length === 0} -
- Delete row can only be used within a component that provides data, such as - a List -
- {:else} - - - {/if} + + + + + (parameters.rowId = value.detail)} /> + + + (parameters.revId = value.detail)} />