fix: hide course header for students if no courses in batch

This commit is contained in:
Jannat Patel
2023-09-28 10:14:10 +05:30
parent d5387a0d1a
commit cc7832614b

View File

@@ -171,6 +171,7 @@
{% macro CourseList(courses) %}
{% if courses | length or is_moderator %}
<div class="batch-course-list">
<div class="flex align-center">
@@ -214,6 +215,7 @@
</div>
{% endif %}
</div>
{% endif %}
{% endmacro %}
{%- block script %}