From 84bc177784c4f04aa33bb28611537fc542bcdc53 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Fri, 18 Jun 2021 12:32:55 +0100 Subject: [PATCH] Fix error when deleting screen --- .../ComponentNavigationTree/ScreenDropdownMenu.svelte | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/builder/src/components/design/NavigationPanel/ComponentNavigationTree/ScreenDropdownMenu.svelte b/packages/builder/src/components/design/NavigationPanel/ComponentNavigationTree/ScreenDropdownMenu.svelte index c476049a99..b2161e35d7 100644 --- a/packages/builder/src/components/design/NavigationPanel/ComponentNavigationTree/ScreenDropdownMenu.svelte +++ b/packages/builder/src/components/design/NavigationPanel/ComponentNavigationTree/ScreenDropdownMenu.svelte @@ -14,11 +14,9 @@ try { await store.actions.screens.delete(screen) await store.actions.routing.fetch() - confirmDeleteDialog.hide() $goto("../") notifications.success("Deleted screen successfully.") } catch (err) { - console.log(err) notifications.error("Error deleting screen") } }