MOBILE-4470 workshop: Remove changes confirmation when not editing
This commit is contained in:
		
							parent
							
								
									84f59bb8ee
								
							
						
					
					
						commit
						deccc4cbf5
					
				@ -250,7 +250,7 @@ export class AddonModWorkshopAssessmentStrategyComponent implements OnInit, OnDe
 | 
				
			|||||||
     * @returns True if data has changed.
 | 
					     * @returns True if data has changed.
 | 
				
			||||||
     */
 | 
					     */
 | 
				
			||||||
    hasDataChanged(): boolean {
 | 
					    hasDataChanged(): boolean {
 | 
				
			||||||
        if (!this.assessmentStrategyLoaded || !this.workshop.strategy) {
 | 
					        if (!this.assessmentStrategyLoaded || !this.workshop.strategy || !this.edit) {
 | 
				
			||||||
            return false;
 | 
					            return false;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user