From 973ec57dbdbe9a60524dfda853a0e3943a938dea Mon Sep 17 00:00:00 2001 From: FORESTIER Fabien <fabien.forestier@soprasteria.com> Date: Thu, 25 Oct 2018 13:33:05 +0200 Subject: [PATCH] Remove logs --- src/app/core/components/contact/contact.component.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/app/core/components/contact/contact.component.ts b/src/app/core/components/contact/contact.component.ts index 4e8957b7..ceea450b 100644 --- a/src/app/core/components/contact/contact.component.ts +++ b/src/app/core/components/contact/contact.component.ts @@ -39,12 +39,9 @@ export class ContactComponent implements OnInit { } send() { - console.log(this.form.value); const email = new Email(this.form.value); - console.log(email); this._emailService.send(email).subscribe( (res) => { - console.log(res); this._notificationService.notify( { type: 'success', @@ -54,7 +51,6 @@ export class ContactComponent implements OnInit { this.form.reset(); }, (err) => { - console.log(err); this._notificationService.notify( { type: 'error', @@ -67,7 +63,6 @@ export class ContactComponent implements OnInit { get emailConfirmationIsCorrect(): boolean { const value = this.form.controls.email.value === this.form.controls.emailConfirmation.value ? true : false; - console.log(value); return value; } @@ -85,7 +80,6 @@ export class ContactComponent implements OnInit { formIsInvalid() { const controls = this.form.controls; const value = this.form.invalid || this.emailConfirmationError; - console.log('FormInvalid: ', value); return value; } -- GitLab