forked from EVOgeek/Vmeda.Online
commit
38420ef721
|
@ -86,7 +86,7 @@ export class CoreModuleHandlerBase implements Partial<CoreCourseModuleHandler> {
|
|||
return modicon;
|
||||
}
|
||||
|
||||
return CoreCourse.getModuleIconSrc(module.name, modicon);
|
||||
return CoreCourse.getModuleIconSrc(module.modname, modicon);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue