MOBILE-3947 course: Open course index in a sheet modal

main
Pau Ferrer Ocaña 2023-11-28 15:33:50 +01:00
parent 50596da0f2
commit c60519f2a8
1 changed files with 2 additions and 0 deletions

View File

@ -426,6 +426,8 @@ export class CoreCourseFormatComponent implements OnInit, OnChanges, OnDestroy {
const data = await CoreDomUtils.openModal<CoreCourseIndexSectionWithModule>({
component: CoreCourseCourseIndexComponent,
initialBreakpoint: 1,
breakpoints: [0, 1],
componentProps: {
course: this.course,
sections: this.sections,