From 960ebe4a794a586b3efea3747f24599e683a2339 Mon Sep 17 00:00:00 2001 From: Jannat Patel Date: Tue, 18 Feb 2025 18:10:33 +0530 Subject: [PATCH] fix: redirect users to the batch page after login --- frontend/src/pages/Batch.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/pages/Batch.vue b/frontend/src/pages/Batch.vue index 401fdb6b..295a39d9 100644 --- a/frontend/src/pages/Batch.vue +++ b/frontend/src/pages/Batch.vue @@ -313,7 +313,7 @@ const tabs = computed(() => { }) const redirectToLogin = () => { - window.location.href = `/login?redirect-to=/lms/batch/${props.batchName}` + window.location.href = `/login?redirect-to=/lms/batches/${props.batchName}` } const openAnnouncementModal = () => {