From 0d4cccf855b23c19e865b8000609c788b9df8773 Mon Sep 17 00:00:00 2001 From: ernstmul Date: Thu, 17 Oct 2024 17:27:35 +0200 Subject: [PATCH] Use previous page --- .../organization-[organization]/change-plan/+page.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/routes/(console)/organization-[organization]/change-plan/+page.svelte b/src/routes/(console)/organization-[organization]/change-plan/+page.svelte index 24c61601f..3682491c7 100644 --- a/src/routes/(console)/organization-[organization]/change-plan/+page.svelte +++ b/src/routes/(console)/organization-[organization]/change-plan/+page.svelte @@ -149,7 +149,7 @@ }) }); - await goto(`${base}/organization-${$organization.$id}/billing`); + await goto(previousPage); addNotification({ type: 'success', isHtml: true, @@ -217,7 +217,7 @@ await invalidate(Dependencies.ACCOUNT); await invalidate(Dependencies.ORGANIZATION); - await goto(`${base}/organization-${org.$id}/billing`); + await goto(previousPage); addNotification({ type: 'success', message: 'Your organization has been upgraded'