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:
committed by
Bram Kragten
parent
88180a2708
commit
f1d4d0ef98
@@ -92,7 +92,7 @@ export default <T extends Constructor<HassBaseEl>>(superClass: T) =>
|
||||
}
|
||||
|
||||
private _applyTheme(darkPreferred: boolean) {
|
||||
if (!this.hass) {
|
||||
if (!this.hass?.config) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user