Cast fix for urlPath === "lovelace" (#5242)
This commit is contained in:
@@ -172,6 +172,9 @@ export class HcMain extends HassElement {
|
||||
return;
|
||||
}
|
||||
if (!this._unsubLovelace || this._urlPath !== msg.urlPath) {
|
||||
if (msg.urlPath === "lovelace") {
|
||||
msg.urlPath = null;
|
||||
}
|
||||
this._urlPath = msg.urlPath;
|
||||
if (this._unsubLovelace) {
|
||||
this._unsubLovelace();
|
||||
|
||||
Reference in New Issue
Block a user