Catch for no resources defined

This commit is contained in:
Paulus Schoutsen 2018-06-21 17:34:42 -04:00
parent 545af4c6d2
commit 44d64bc7ce

View File

@ -143,7 +143,7 @@ class HUIRoot extends EventsMixin(PolymerElement) {
} }
_configChanged(config) { _configChanged(config) {
this._loadResources(config.resources); this._loadResources(config.resources || []);
// On config change, recreate the view from scratch. // On config change, recreate the view from scratch.
this._selectView(this._curView); this._selectView(this._curView);
} }