mirror of
https://github.com/frappe/lms.git
synced 2026-04-19 22:52:29 +03:00
Merge pull request #2132 from pateljannat/issues-196
fix: student home page issue when not enrolled in any batch
This commit is contained in:
@@ -108,7 +108,7 @@
|
||||
<div class="flex items-center justify-between mb-3">
|
||||
<span class="font-semibold text-lg text-ink-gray-9">
|
||||
{{
|
||||
myBatches.data?.[0].students.includes(user.data?.name)
|
||||
myBatches.data?.[0].students?.includes(user.data?.name)
|
||||
? __('My Batches')
|
||||
: __('Our Upcoming Batches')
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user