Fix cast dashboard in media browser (#114924)

This commit is contained in:
Joost Lekkerkerker 2024-04-05 11:44:51 +02:00 committed by GitHub
parent 772d9f754a
commit 8ca6e12ddd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -179,7 +179,7 @@ async def _get_dashboard_info(hass, url_path):
"views": views,
}
if config is None:
if config is None or "views" not in config:
return data
for idx, view in enumerate(config["views"]):