From 908af3e024979b6d98d8d8b331c40d024b825716 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Mon, 28 Mar 2022 15:20:49 +0200 Subject: [PATCH] fix: Reload window on settings saved --- src/routes/applications/[id]/index.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/applications/[id]/index.svelte b/src/routes/applications/[id]/index.svelte index a5d846e89..49f800975 100644 --- a/src/routes/applications/[id]/index.svelte +++ b/src/routes/applications/[id]/index.svelte @@ -109,7 +109,7 @@ try { await post(`/applications/${id}/check.json`, { fqdn: application.fqdn, forceSave }); await post(`/applications/${id}.json`, { ...application }); - return toast.push('Configurations saved.'); + return window.location.reload(); } catch ({ error }) { if (error.startsWith('DNS not set')) { forceSave = true;