mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-23 09:16:38 +00:00
Fix double load of lovelace resources (#18332)
This commit is contained in:
parent
03a21d5519
commit
768344c3f7
@ -229,7 +229,7 @@ export class LovelacePanel extends LitElement {
|
|||||||
}
|
}
|
||||||
if (!resourcesLoaded) {
|
if (!resourcesLoaded) {
|
||||||
resourcesLoaded = true;
|
resourcesLoaded = true;
|
||||||
(llWindow.llConfProm || fetchResources(this.hass!.connection)).then(
|
(llWindow.llResProm || fetchResources(this.hass!.connection)).then(
|
||||||
(resources) =>
|
(resources) =>
|
||||||
loadLovelaceResources(resources, this.hass!.auth.data.hassUrl)
|
loadLovelaceResources(resources, this.hass!.auth.data.hassUrl)
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user