Fix missing localize on old core versions (#8522)

This commit is contained in:
Joakim Sørensen
2021-03-03 11:05:04 +01:00
committed by GitHub
parent ca4de877c1
commit fe50f4229c

View File

@@ -185,7 +185,7 @@ export class SupervisorBaseElement extends urlSyncMixin(
fetchSupervisorStore(this.hass),
]);
this.supervisor = {
this._updateSupervisor({
addon,
supervisor,
host,
@@ -195,7 +195,7 @@ export class SupervisorBaseElement extends urlSyncMixin(
network,
resolution,
store,
};
});
this.addEventListener("supervisor-update", (ev) =>
this._updateSupervisor(ev.detail)