style: Remove unnecessary console.log statements
This commit is contained in:
		
					parent
					
						
							
								3b8ed21b27
							
						
					
				
			
			
				commit
				
					
						f10fe2455d
					
				
			
		
					 2 changed files with 0 additions and 5 deletions
				
			
		|  | @ -38,7 +38,6 @@ export class MitarbeiterBearbeitenViewComponent { | |||
|     } | ||||
|     this.employeeService.getEmployeeById(this.route.snapshot.params['id']).subscribe(employee => { | ||||
|       this.mitarbeiter = employee; | ||||
|       console.log(this.mitarbeiter); | ||||
|     }); | ||||
|   } | ||||
| } | ||||
|  |  | |||
|  | @ -99,7 +99,6 @@ export class MitarbeiterFormComponent { | |||
|   }; | ||||
| 
 | ||||
|   updateErrorMessages(): void { | ||||
|     console.log("updateErrorMessages"); | ||||
|     this.errorMessages = {}; | ||||
| 
 | ||||
|     Object.keys(this.mitarbeiterForm.controls).forEach(field => { | ||||
|  | @ -111,15 +110,12 @@ export class MitarbeiterFormComponent { | |||
|           .join(' '); | ||||
|       } | ||||
|     }); | ||||
| 
 | ||||
|     console.log(this.errorMessages); | ||||
|   } | ||||
| 
 | ||||
| 
 | ||||
|   submit() { | ||||
|     this.updateErrorMessages(); | ||||
|     if (!this.mitarbeiterForm.valid) { | ||||
|       console.log(this.mitarbeiterForm.valid); | ||||
|       return; | ||||
|     } | ||||
| 
 | ||||
|  |  | |||
		Reference in a new issue