bux fixes

This commit is contained in:
Gundersen 2022-03-01 14:30:09 -06:00
commit 6382544457

View file

@ -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.");
}