We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc08add commit 7e7f75dCopy full SHA for 7e7f75d
src/addon/block/myoverview/components/myoverview/myoverview.ts
@@ -218,7 +218,8 @@ export class AddonBlockMyOverviewComponent extends CoreBlockBaseComponent implem
218
219
this.showFilters.favourite = this.getShowFilterValue(
220
this.showSelectorFilter && typeof courses[0].isfavourite != 'undefined' &&
221
- (!config || config.displaygroupingstarred.value == '1'),
+ (!config || (config.displaygroupingstarred && config.displaygroupingstarred.value == '1') ||
222
+ (config.displaygroupingfavourites && config.displaygroupingfavourites.value == '1')),
223
this.courses.favourite.length === 0);
224
225
this.showFilters.custom = this.getShowFilterValue(this.showSelectorFilter && config &&
0 commit comments