2
0
Fork 0

Merge pull request #3603 from dpalou/MOBILE-4270

Mobile 4270
main
Noel De Martin 2023-04-12 15:18:38 +02:00 committed by GitHub
commit 38420ef721
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -86,7 +86,7 @@ export class CoreModuleHandlerBase implements Partial<CoreCourseModuleHandler> {
return modicon;
}
return CoreCourse.getModuleIconSrc(module.name, modicon);
return CoreCourse.getModuleIconSrc(module.modname, modicon);
}
}

View File

@ -5,7 +5,7 @@
<core-loading [hideUntil]="dataLoaded && !updatingData">
<core-course-format [course]="course" [sections]="sections" [initialSectionId]="sectionId" [initialSectionNumber]="sectionNumber"
[moduleId]="moduleId" class="core-course-format-{{course.format}}" *ngIf="dataLoaded">
[moduleId]="moduleId" class="core-course-format-{{course.format}}" *ngIf="dataLoaded && sections">
</core-course-format>
</core-loading>
</ion-content>