From 4e3be6b7b7fafd2ec8a8b46543d8a1ea6cfc6bde 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} +