mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-22 00:36:34 +00:00
Catch for no resources defined
This commit is contained in:
parent
545af4c6d2
commit
44d64bc7ce
@ -143,7 +143,7 @@ class HUIRoot extends EventsMixin(PolymerElement) {
|
||||
}
|
||||
|
||||
_configChanged(config) {
|
||||
this._loadResources(config.resources);
|
||||
this._loadResources(config.resources || []);
|
||||
// On config change, recreate the view from scratch.
|
||||
this._selectView(this._curView);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user