From 63825444578144d368bf3c3862e1eeccfb31e86d Mon Sep 17 00:00:00 2001 From: Gundersen Date: Tue, 1 Mar 2022 14:30:09 -0600 Subject: [PATCH] bux fixes --- src/app/form.component.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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."); }