mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-28 11:46:42 +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 newSelectView;
|
||||||
let force = false;
|
let force = false;
|
||||||
|
|
||||||
const viewPath = this.route!.path.split("/")[1];
|
const viewPath = decodeURI(this.route!.path.split("/")[1]);
|
||||||
|
|
||||||
if (changedProperties.has("route")) {
|
if (changedProperties.has("route")) {
|
||||||
const views = this.config.views;
|
const views = this.config.views;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user