fix: redirect users to the batch page after login

This commit is contained in:
Jannat Patel
2025-02-18 18:10:33 +05:30
parent 46dba0c394
commit 960ebe4a79

View File

@@ -313,7 +313,7 @@ const tabs = computed(() => {
}) })
const redirectToLogin = () => { const redirectToLogin = () => {
window.location.href = `/login?redirect-to=/lms/batch/${props.batchName}` window.location.href = `/login?redirect-to=/lms/batches/${props.batchName}`
} }
const openAnnouncementModal = () => { const openAnnouncementModal = () => {