mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-23 17:26:42 +00:00
Fix loading traces for automation with custom id (#12112)
This commit is contained in:
parent
7b6d3c0e36
commit
c522670815
@ -87,7 +87,7 @@ class HaConfigAutomation extends HassRouterPage {
|
||||
(!changedProps || changedProps.has("route")) &&
|
||||
this._currentPage !== "dashboard"
|
||||
) {
|
||||
const automationId = this.routeTail.path.substr(1);
|
||||
const automationId = decodeURIComponent(this.routeTail.path.substr(1));
|
||||
pageEl.automationId = automationId === "new" ? null : automationId;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user