From f599fcd7346b1f78ad27c7da06e433a86aa56b11 Mon Sep 17 00:00:00 2001 From: Joost Lekkerkerker Date: Wed, 17 Jul 2024 16:05:45 +0200 Subject: [PATCH] Update src/panels/config/devices/device-detail/ha-device-info-card.ts Co-authored-by: Paul Bottein --- .../config/devices/device-detail/ha-device-info-card.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/panels/config/devices/device-detail/ha-device-info-card.ts b/src/panels/config/devices/device-detail/ha-device-info-card.ts index 6d813d16ed31..1a1b73e98ce7 100644 --- a/src/panels/config/devices/device-detail/ha-device-info-card.ts +++ b/src/panels/config/devices/device-detail/ha-device-info-card.ts @@ -35,9 +35,8 @@ export class HaDeviceCard extends LitElement { ${this.device.model} ${this.device.model_id ? html`(${this.device.model_id})` : ""} ` - : ""} - ${this.device.model_id && !this.device.model - ? html`
${this.device.model_id}
` + : this.device.model_id + ? html`
${this.device.model_id}
` : ""} ${this.device.manufacturer ? html`