diff --git a/src-ui/app/components/device-list/device-edit-modal/device-edit-modal.component.html b/src-ui/app/components/device-list/device-edit-modal/device-edit-modal.component.html index b022229b..897db029 100644 --- a/src-ui/app/components/device-list/device-edit-modal/device-edit-modal.component.html +++ b/src-ui/app/components/device-list/device-edit-modal/device-edit-modal.component.html @@ -42,13 +42,13 @@ class="btn" (click)="openLighthouseV1IdWizard()" [ngClass]=" - lighthouseService.deviceNeedsIdentifier(lighthouseDevice) + lighthouseService.deviceNeedsIdentifier(lighthouseDevice!) ? 'btn-primary' : 'btn-secondary' " > {{ - (lighthouseService.deviceNeedsIdentifier(lighthouseDevice) + (lighthouseService.deviceNeedsIdentifier(lighthouseDevice!) ? 'comp.device-edit-modal.v1Identifier.set' : 'comp.device-edit-modal.v1Identifier.change' ) | translate