Decode view path URL (#12310)

This commit is contained in:
Joakim Sørensen 2022-04-12 13:52:17 +02:00 committed by GitHub
parent 125a601ae3
commit 323d98ecf7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;