Fix double load of lovelace resources (#18332)

This commit is contained in:
J. Nick Koston 2023-10-22 22:05:26 -10:00 committed by GitHub
parent 03a21d5519
commit 768344c3f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -229,7 +229,7 @@ export class LovelacePanel extends LitElement {
}
if (!resourcesLoaded) {
resourcesLoaded = true;
(llWindow.llConfProm || fetchResources(this.hass!.connection)).then(
(llWindow.llResProm || fetchResources(this.hass!.connection)).then(
(resources) =>
loadLovelaceResources(resources, this.hass!.auth.data.hassUrl)
);