From 4375d9ce6fba7257806e74ef2147ccaece451691 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pau=20Ferrer=20Oca=C3=B1a?= Date: Fri, 11 Nov 2022 12:01:49 +0100 Subject: [PATCH] MOBILE-4081 dashboard: Fix empty dashboard when loading fallback blocks --- src/core/features/courses/pages/dashboard/dashboard.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/features/courses/pages/dashboard/dashboard.ts b/src/core/features/courses/pages/dashboard/dashboard.ts index 45f58a4f1..6dff6bbf8 100644 --- a/src/core/features/courses/pages/dashboard/dashboard.ts +++ b/src/core/features/courses/pages/dashboard/dashboard.ts @@ -118,6 +118,8 @@ export class CoreCoursesDashboardPage implements OnInit, OnDestroy { visible: true, }, ]; + + this.hasMainBlocks = CoreBlockDelegate.isBlockSupported('myoverview') || CoreBlockDelegate.isBlockSupported('timeline'); } /**