diff --git a/src/app/form.component.ts b/src/app/form.component.ts index 16d1902..7347f4f 100644 --- a/src/app/form.component.ts +++ b/src/app/form.component.ts @@ -46,14 +46,9 @@ export class FormComponent implements OnInit { set() { - console.log("Form before:", this.form); - /* Make a deep copy of the template */ this.form = JSON.parse(JSON.stringify(this.template)); - console.log("Template:", this.template); - console.log("Form after:", this.form); - } next() { @@ -72,7 +67,7 @@ export class FormComponent implements OnInit { res.ok ? this.router.navigate(["/thanks"]) : - alert("Something went wrong"); + alert("Failed to connect to the backend."); }