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:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user