forked from CIT/Vmeda.Online
		
	Merge pull request #1616 from dpalou/MOBILE-2502
MOBILE-2502 course: Fix navigate to stealth modules
This commit is contained in:
		
						commit
						d360929e70
					
				@ -398,9 +398,11 @@ export class CoreCourseProvider {
 | 
			
		||||
        }).then((sections) => {
 | 
			
		||||
            for (let i = 0; i < sections.length; i++) {
 | 
			
		||||
                const section = sections[i];
 | 
			
		||||
                if (sectionId != null && !isNaN(sectionId) && sectionId != section.id) {
 | 
			
		||||
                if (sectionId != null && !isNaN(sectionId) && section.id != CoreCourseProvider.STEALTH_MODULES_SECTION_ID &&
 | 
			
		||||
                        sectionId != section.id) {
 | 
			
		||||
                    continue;
 | 
			
		||||
                }
 | 
			
		||||
 | 
			
		||||
                for (let j = 0; j < section.modules.length; j++) {
 | 
			
		||||
                    const module = section.modules[j];
 | 
			
		||||
                    if (module.id == moduleId) {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user