We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 15b90d8 + a0b9844 commit 01b776fCopy full SHA for 01b776f
src/routes/(console)/project-[region]-[project]/settings/deleteProject.svelte
@@ -10,6 +10,7 @@
10
import { isCloud } from '$lib/system';
11
import Confirm from '$lib/components/confirm.svelte';
12
import { project, projectRegion } from '../store';
13
+ import { organization } from '$lib/stores/organization';
14
15
let showDelete = false;
16
let name: string = null;
@@ -24,7 +25,9 @@
24
25
message: `${$project.name} has been deleted`
26
});
27
trackEvent(Submit.ProjectDelete);
- await goto(base);
28
+ await goto(`${base}/organization-${$organization.$id}`, {
29
+ replaceState: true
30
+ });
31
} catch (e) {
32
error = e.message;
33
trackError(e, Submit.ProjectDelete);
0 commit comments