1
0
mirror of https://github.com/home-assistant/frontend.git synced 2025-12-23 20:28:47 +00:00

Handle not existing panels in dashboard config (#28292)

This commit is contained in:
Paul Bottein
2025-12-02 17:23:09 +01:00
committed by GitHub
parent 3d327ed628
commit fff12acb6b

View File

@@ -326,7 +326,7 @@ export class HaConfigLovelaceDashboards extends LitElement {
PANEL_DASHBOARDS.forEach((panel) => {
const panelInfo = this.hass.panels[panel];
if (!panel) {
if (!panelInfo) {
return;
}
const item: DataTableItem = {