From 219a04c094ef6a281996613d6db021eef2086dea Mon Sep 17 00:00:00 2001 From: Raphiiko Date: Sun, 8 Sep 2024 14:20:00 +0200 Subject: [PATCH] Fix build --- .../device-edit-modal/device-edit-modal.component.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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