From c60519f2a816287ee7b46cdf5b660537e4cbdbd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pau=20Ferrer=20Oca=C3=B1a?= <crazyserver@gmail.com> Date: Tue, 28 Nov 2023 15:33:50 +0100 Subject: [PATCH] MOBILE-3947 course: Open course index in a sheet modal --- .../features/course/components/course-format/course-format.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/features/course/components/course-format/course-format.ts b/src/core/features/course/components/course-format/course-format.ts index 784a0d09a..06c8e6c7d 100644 --- a/src/core/features/course/components/course-format/course-format.ts +++ b/src/core/features/course/components/course-format/course-format.ts @@ -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,