Use url path instead of component name for path

This commit is contained in:
Paulus Schoutsen 2018-05-15 13:38:05 -04:00
parent a4afc2e37a
commit 658b349755

View File

@ -213,7 +213,7 @@ class HaSidebar extends
menuClicked(ev) {
// Selection made inside dom-repeat
if (ev.model) {
this.selectPanel(ev.model.item.component_name);
this.selectPanel(ev.model.item.url_path);
return;
}