fix: show dashboard to evaluators too
This commit is contained in:
@@ -62,9 +62,7 @@
|
|||||||
<div v-else-if="tab.label == 'Dashboard' && isStudent">
|
<div v-else-if="tab.label == 'Dashboard' && isStudent">
|
||||||
<BatchDashboard :batch="batch" :isStudent="isStudent" />
|
<BatchDashboard :batch="batch" :isStudent="isStudent" />
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div v-else-if="tab.label == 'Dashboard'">
|
||||||
v-else-if="tab.label == 'Dashboard' && user.data?.is_moderator"
|
|
||||||
>
|
|
||||||
<BatchStudents :batch="batch.data" />
|
<BatchStudents :batch="batch.data" />
|
||||||
</div>
|
</div>
|
||||||
<div v-else-if="tab.label == 'Live Class'">
|
<div v-else-if="tab.label == 'Live Class'">
|
||||||
|
|||||||
Reference in New Issue
Block a user