forked from CIT/Vmeda.Online
		
	Merge pull request #3036 from NoelDeMartin/MOBILE-3833
MOBILE-3833 myoverview: Fix empty courses
This commit is contained in:
		
						commit
						9f99b78ccf
					
				@ -303,6 +303,10 @@ export class AddonBlockMyOverviewComponent extends CoreBlockBaseComponent implem
 | 
			
		||||
    protected loadFilters(
 | 
			
		||||
        config?: Record<string, { name: string; value: string; type: string }>,
 | 
			
		||||
    ): void {
 | 
			
		||||
        if (!this.hasCourses) {
 | 
			
		||||
            return;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        this.textFilter = '';
 | 
			
		||||
 | 
			
		||||
        const sampleCourse = this.allCourses[0];
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user