diff --git a/src/lib/components/WelcomeModal/WelcomeModal.svelte b/src/lib/components/WelcomeModal/WelcomeModal.svelte index 8b61428d1..7448d5a5b 100644 --- a/src/lib/components/WelcomeModal/WelcomeModal.svelte +++ b/src/lib/components/WelcomeModal/WelcomeModal.svelte @@ -3,9 +3,12 @@ import { writable } from 'svelte/store'; import { onMount, onDestroy } from 'svelte'; import { welcomeModalStore } from './store'; + import { goto } from '$app/navigation'; + import { currentOrgPath } from '$lib/utils/store/org'; const closeModal = () => { $welcomeModalStore.open = false; + goto($currentOrgPath + '/courses?create=true'); };