MOBILE-3783 sitehome: Fix combolist not shown

main
Pau Ferrer Ocaña 2021-08-06 11:35:18 +02:00
parent 90370aa51c
commit 7904139fff
2 changed files with 3 additions and 3 deletions

View File

@ -21,8 +21,8 @@
<!-- Site home main contents. -->
<ng-container *ngIf="section && section.hasContent">
<ion-item class="ion-text-wrap" *ngIf="section.summary">
<core-format-text [text]="section.summary" contextLevel="course" [contextInstanceId]="siteHomeId">
</core-format-text>
<ion-label><core-format-text [text]="section.summary" contextLevel="course" [contextInstanceId]="siteHomeId">
</core-format-text></ion-label>
</ion-item>
<core-course-module *ngFor="let module of section.modules" [module]="module" [courseId]="siteHomeId"

View File

@ -27,7 +27,7 @@ import { AddonModForum, AddonModForumData } from '@addons/mod/forum/services/for
export enum FrontPageItemNames {
NEWS_ITEMS = 0,
LIST_OF_CATEGORIES = 2,
COMBO_LIST = 3,
COMBO_LIST = 4,
ENROLLED_COURSES = 5,
LIST_OF_COURSE = 6,
COURSE_SEARCH_BOX = 7,