MOBILE-4081 dashboard: Fix empty dashboard when loading fallback blocks

main
Pau Ferrer Ocaña 2022-11-11 12:01:49 +01:00
parent ad66933c72
commit 4375d9ce6f
1 changed files with 2 additions and 0 deletions

View File

@ -118,6 +118,8 @@ export class CoreCoursesDashboardPage implements OnInit, OnDestroy {
visible: true, visible: true,
}, },
]; ];
this.hasMainBlocks = CoreBlockDelegate.isBlockSupported('myoverview') || CoreBlockDelegate.isBlockSupported('timeline');
} }
/** /**