MOBILE-2440 course: Prevent all sections being repeated
parent
4f636824e3
commit
6dada7ecd0
|
@ -53,7 +53,7 @@
|
||||||
|
|
||||||
<!-- Template to render a section. -->
|
<!-- Template to render a section. -->
|
||||||
<ng-template #sectionTemplate let-section="section">
|
<ng-template #sectionTemplate let-section="section">
|
||||||
<section ion-list *ngIf="section.hasContent">
|
<section ion-list *ngIf="section.hasContent && section.id != allSectionsId">
|
||||||
<!-- Title is only displayed when viewing all sections. -->
|
<!-- Title is only displayed when viewing all sections. -->
|
||||||
<ion-item-divider text-wrap color="light" *ngIf="selectedSection.id == allSectionsId && section.name">
|
<ion-item-divider text-wrap color="light" *ngIf="selectedSection.id == allSectionsId && section.name">
|
||||||
<core-format-text [text]="section.name"></core-format-text>
|
<core-format-text [text]="section.name"></core-format-text>
|
||||||
|
|
Loading…
Reference in New Issue