mirror of
https://github.com/home-assistant/frontend.git
synced 2025-04-24 21:37:21 +00:00
Decode view path URL (#12310)
This commit is contained in:
parent
125a601ae3
commit
323d98ecf7
@ -551,7 +551,7 @@ class HUIRoot extends LitElement {
|
||||
let newSelectView;
|
||||
let force = false;
|
||||
|
||||
const viewPath = this.route!.path.split("/")[1];
|
||||
const viewPath = decodeURI(this.route!.path.split("/")[1]);
|
||||
|
||||
if (changedProperties.has("route")) {
|
||||
const views = this.config.views;
|
||||
|
Loading…
x
Reference in New Issue
Block a user