fix: student home page issue when not enrolled in any batch

This commit is contained in:
Jannat Patel
2026-02-25 18:14:45 +05:30
parent 8fa5c899ff
commit e8354e9781
+1 -1
View File
@@ -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')
}}