Merge remote-tracking branch 'origin/dev' into feature/improve-menu

pull/84/head
Chris Veilleux 2022-07-29 12:03:07 -05:00
commit c11d57560e
1 changed files with 10 additions and 0 deletions

View File

@ -155,6 +155,16 @@ export class AddComponent implements OnInit {
onDefaultsSubmit() {
this.deviceService.addAccountDefaults(this.defaultsForm).subscribe();
this.deviceForm.patchValue(
{
city: this.defaultsForm.controls['city'].value,
country: this.defaultsForm.controls['country'].value,
region: this.defaultsForm.controls['region'].value,
timezone: this.defaultsForm.controls['timezone'].value,
wakeWord: this.defaultsForm.controls['wakeWord'].value,
voice: this.defaultsForm.controls['voice'].value
}
);
}
onFinished() {