We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cab4dce commit 07a6b8aCopy full SHA for 07a6b8a
www/core/components/course/templates/sections.html
@@ -5,7 +5,7 @@
5
<ion-refresher on-refresh="doRefresh()" pulling-text="{{ 'mm.core.pulltorefresh' | translate }}" ng-if="sectionsLoaded"></ion-refresher>
6
<mm-loading hide-until="sectionsLoaded">
7
<ul class="list">
8
- <li ng-repeat="section in sections">
+ <li ng-repeat="section in sections" ng-if="section.modules.length > 0 || section.summary != ''">
9
<a class="item item-text-wrap item-button-right" mm-split-view-link="site.mm_course-section({cid: courseId, sectionid: section.id, mid: moduleId})" title="{{section.name}}">
10
<mm-format-text watch="true">{{section.name}}</mm-format-text>
11
0 commit comments