Skip to content

Commit

Permalink
Update src/panels/config/devices/device-detail/ha-device-info-card.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Paul Bottein <[email protected]>
  • Loading branch information
joostlek and piitaya authored Jul 17, 2024
1 parent 150e6c2 commit f599fcd
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,8 @@ export class HaDeviceCard extends LitElement {
${this.device.model}
${this.device.model_id ? html`(${this.device.model_id})` : ""}
</div>`
: ""}
${this.device.model_id && !this.device.model
? html`<div class="model">${this.device.model_id}</div>`
: this.device.model_id
? html`<div class="model">${this.device.model_id}</div>`
: ""}
${this.device.manufacturer
? html`
Expand Down

0 comments on commit f599fcd

Please sign in to comment.