From 08633c197bae3afb96502a3127655f67309caf05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krzysztof=20D=C4=85browski?= Date: Thu, 17 Oct 2024 18:26:26 +0200 Subject: [PATCH] Hide integration logo on device page when load error occurs (#22357) --- src/panels/config/devices/ha-config-device-page.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/panels/config/devices/ha-config-device-page.ts b/src/panels/config/devices/ha-config-device-page.ts index 57c98568739f..a959ec67f0f2 100644 --- a/src/panels/config/devices/ha-config-device-page.ts +++ b/src/panels/config/devices/ha-config-device-page.ts @@ -348,6 +348,8 @@ export class HaConfigDevicePage extends LitElement { })} crossorigin="anonymous" referrerpolicy="no-referrer" + @error=${this._onImageError} + @load=${this._onImageLoad} /> ${domainToName(this.hass.localize, integration.domain)}