1
0
mirror of https://github.com/home-assistant/frontend.git synced 2026-02-15 07:25:54 +00:00

Fix type error for missing hass.themes race condition in themes mixin (#29338)

This commit is contained in:
Paul Bottein
2026-02-02 14:44:24 +01:00
committed by GitHub
parent a8393cddd4
commit ff5ecc047a

View File

@@ -92,7 +92,7 @@ export default <T extends Constructor<HassBaseEl>>(superClass: T) =>
}
private _applyTheme(darkPreferred: boolean) {
if (!this.hass?.config) {
if (!this.hass?.config || !this.hass.themes) {
return;
}