mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +00:00
Merge branch 'rc'
This commit is contained in:
commit
35ebfc15c9
@ -93,7 +93,7 @@ class HcLovelace extends LitElement {
|
||||
}
|
||||
|
||||
private get _viewIndex() {
|
||||
if (this.viewPath === null) {
|
||||
if (this.viewPath === null || this.viewPath === undefined) {
|
||||
return 0;
|
||||
}
|
||||
const selectedView = this.viewPath;
|
||||
|
@ -270,7 +270,7 @@ export class HcMain extends HassElement {
|
||||
}
|
||||
|
||||
this._error = undefined;
|
||||
if (msg.urlPath === "lovelace") {
|
||||
if (msg.urlPath === "lovelace" || msg.urlPath === undefined) {
|
||||
msg.urlPath = null;
|
||||
}
|
||||
this._lovelacePath = msg.viewPath;
|
||||
|
Loading…
x
Reference in New Issue
Block a user