mirror of
https://github.com/frappe/lms.git
synced 2026-04-26 02:29:48 +03:00
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