feat: meta for batches

This commit is contained in:
Jannat Patel
2024-03-29 14:48:46 +05:30
parent 02e8a97f85
commit bd116c3e7b
17 changed files with 129 additions and 31 deletions

View File

@@ -155,7 +155,7 @@
:buttonLabel="
type == 'course' ? 'Checkout Courses' : 'Checkout Batches'
"
:buttonLink="type == 'course' ? '/courses' : '/batches'"
:buttonLink="type == 'course' ? '/lms/courses' : '/lms/batches'"
/>
</div>
<div v-else-if="!user.data?.name">

View File

@@ -315,10 +315,6 @@ watch(
}
)
const redirectToLogin = () => {
window.location.href = `/login?redirect_to=/courses/${props.courseName}/learn/${route.params.chapterNumber}-${route.params.lessonNumber}`
}
const allowDiscussions = () => {
return (
lesson.data?.membership ||