From 9a2d52c9fe3dda8f150813a5b98f6e26295f4313 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Thu, 24 Sep 2020 16:32:35 +0100 Subject: [PATCH] Use ConfirmDialog for table deletion to improve consistency --- .../nav/ModelNavigator/EditTable.svelte | 37 ++++++++++--------- 1 file changed, 19 insertions(+), 18 deletions(-) diff --git a/packages/builder/src/components/nav/ModelNavigator/EditTable.svelte b/packages/builder/src/components/nav/ModelNavigator/EditTable.svelte index cdf386464c..c8e291498b 100644 --- a/packages/builder/src/components/nav/ModelNavigator/EditTable.svelte +++ b/packages/builder/src/components/nav/ModelNavigator/EditTable.svelte @@ -1,18 +1,17 @@ -
+
- + {#if editing}
Edit Table
@@ -64,13 +58,19 @@ Edit -
  • +
  • confirmDeleteDialog.show()}> Delete
  • {/if} +