bux fixes
This commit is contained in:
parent
a46a5b4012
commit
6382544457
1 changed files with 1 additions and 6 deletions
|
|
@ -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.");
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue