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.config race condition in themes mixin (#29280)

This commit is contained in:
Aidan Timson
2026-01-30 11:54:08 +00:00
committed by Bram Kragten
parent 88180a2708
commit f1d4d0ef98

View File

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