From 89b6adcf26b9894a15c176272bf114717843903d Mon Sep 17 00:00:00 2001 From: Chris Veilleux Date: Thu, 13 Oct 2022 17:02:06 -0500 Subject: [PATCH] style buttons on the add device wizard --- .../src/app/modules/device/pages/add/add.component.scss | 6 +++--- .../src/app/modules/device/pages/add/add.component.ts | 3 +-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/projects/account/src/app/modules/device/pages/add/add.component.scss b/projects/account/src/app/modules/device/pages/add/add.component.scss index fd8228e..5e79e78 100644 --- a/projects/account/src/app/modules/device/pages/add/add.component.scss +++ b/projects/account/src/app/modules/device/pages/add/add.component.scss @@ -23,9 +23,9 @@ mat-card-title { color: mat,mat.get-color-from-palette(theme.$mycroft-primary, 500) } - button { - @include buttons.action-button-primary; - } +.mat-button { + @include buttons.action-button-primary; +} mat-horizontal-stepper { margin-left: auto; diff --git a/projects/account/src/app/modules/device/pages/add/add.component.ts b/projects/account/src/app/modules/device/pages/add/add.component.ts index 486db77..6f37afa 100644 --- a/projects/account/src/app/modules/device/pages/add/add.component.ts +++ b/projects/account/src/app/modules/device/pages/add/add.component.ts @@ -125,7 +125,7 @@ export class AddComponent implements OnInit { Validators.maxLength(6), Validators.minLength(6) ], - // [ pairingCodeValidator(this.deviceService) ], + [ pairingCodeValidator(this.deviceService) ], ], placement: [null], region: [this.defaults ? this.defaults.region.name : null, Validators.required], @@ -142,7 +142,6 @@ export class AddComponent implements OnInit { if (!this.deviceForm.controls['voice'].value) { this.deviceForm.controls['voice'].setValue('American Male'); } - console.log(this.deviceForm); } getResolverData() {