From 44d64bc7ce5984f6501c77adb2eb39aef46ab6b5 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Thu, 21 Jun 2018 17:34:42 -0400 Subject: [PATCH] Catch for no resources defined --- src/panels/lovelace/hui-root.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/panels/lovelace/hui-root.js b/src/panels/lovelace/hui-root.js index 84bfc6018a..eb166174fa 100644 --- a/src/panels/lovelace/hui-root.js +++ b/src/panels/lovelace/hui-root.js @@ -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); }