mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-19 15:26:36 +00:00
Merge pull request #6603 from home-assistant/supervisor-theme-legacy-backendselected
This commit is contained in:
commit
77b25f5132
@ -106,7 +106,9 @@ export class HassioMain extends urlSyncMixin(ProvideHassLitMixin(LitElement)) {
|
||||
};
|
||||
}
|
||||
} else {
|
||||
themeName = (this.hass.selectedTheme as unknown) as string;
|
||||
themeName =
|
||||
((this.hass.selectedTheme as unknown) as string) ||
|
||||
this.hass.themes.default_theme;
|
||||
}
|
||||
|
||||
applyThemesOnElement(
|
||||
|
Loading…
x
Reference in New Issue
Block a user