From 4f763e536e42f9e69a187acf8ba027bb0a6c5187 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Thu, 24 Sep 2020 16:33:21 +0100 Subject: [PATCH] Fix navigation on deleting views and use ConfirmDialog for view deletion to improve consistency --- .../nav/ModelNavigator/EditView.svelte | 45 ++++++++++--------- 1 file changed, 24 insertions(+), 21 deletions(-) diff --git a/packages/builder/src/components/nav/ModelNavigator/EditView.svelte b/packages/builder/src/components/nav/ModelNavigator/EditView.svelte index 7f1f0e5dfd..a5067e61a2 100644 --- a/packages/builder/src/components/nav/ModelNavigator/EditView.svelte +++ b/packages/builder/src/components/nav/ModelNavigator/EditView.svelte @@ -1,20 +1,19 @@ -
+
- + {#if editing}
Edit View
@@ -70,13 +66,19 @@ Edit -
  • +
  • confirmDeleteDialog.show()}> Delete
  • {/if} +