Merge pull request #3438 from crazyserver/MOBILE-4081

MOBILE-4081 dashboard: Fix empty dashboard when loading fallback blocks
main
Dani Palou 2022-11-11 12:12:01 +01:00 committed by GitHub
commit 8dbbba67e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

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