mirror of
https://github.com/home-assistant/frontend.git
synced 2026-02-04 01:10:33 -06:00
Fix default yaml lovelace panel loading (#29230)
This commit is contained in:
parent
9639403865
commit
feb9ce421d
@ -368,11 +368,13 @@ export class LovelacePanel extends LitElement {
|
||||
this._ignoreNextUpdateEvent = true;
|
||||
}
|
||||
|
||||
confProm = fetchConfig(
|
||||
this.hass!.connection,
|
||||
this.urlPath,
|
||||
forceDiskRefresh
|
||||
);
|
||||
// Keep lovelace yaml path for backward compatibility (until 2026.8)
|
||||
const urlPath =
|
||||
confMode === "yaml" && this.urlPath === "lovelace"
|
||||
? null
|
||||
: this.urlPath;
|
||||
|
||||
confProm = fetchConfig(this.hass!.connection, urlPath, forceDiskRefresh);
|
||||
}
|
||||
|
||||
try {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user