fix: when course is unpublished and not coming either, user should not be able to access the course details

This commit is contained in:
Jannat Patel
2025-09-29 18:09:03 +05:30
parent 63c1fe8e75
commit da076f71a1
2 changed files with 23 additions and 1 deletions

View File

@@ -169,6 +169,7 @@
</div>
</div>
<CourseProgressSummary
v-if="user.data?.is_moderator || is_instructor()"
v-model="showProgressModal"
:courseName="course.data.name"
:enrollments="course.data.enrollments"