From 07dae13f443b9a9300e5306ea5071cba24ef5626 Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Tue, 21 Nov 2023 15:36:05 +0100 Subject: [PATCH] fix redirection upon path change for apps --- frontend/src/lib/components/apps/editor/AppEditorHeader.svelte | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/src/lib/components/apps/editor/AppEditorHeader.svelte b/frontend/src/lib/components/apps/editor/AppEditorHeader.svelte index 7e7066b2fe..8459d7a959 100644 --- a/frontend/src/lib/components/apps/editor/AppEditorHeader.svelte +++ b/frontend/src/lib/components/apps/editor/AppEditorHeader.svelte @@ -264,8 +264,7 @@ sendUserToast('App deployed successfully') if (appPath !== npath) { localStorage.removeItem(`app-${appPath}`) - await goto(`/apps/edit/${npath}?nodraft=true`) - window.location.reload() + window.location.pathname = `/apps/edit/${npath}?nodraft=true` } }