Skip to content

Commit

Permalink
Subscribe to the issue registry as early as possible (#18384)
Browse files Browse the repository at this point in the history
  • Loading branch information
bdraco authored Oct 24, 2023
1 parent 2b67731 commit b12e498
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/entrypoints/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import {
} from "../data/lovelace";
import { subscribePanels } from "../data/ws-panels";
import { subscribeThemes } from "../data/ws-themes";
import { subscribeRepairsIssueRegistry } from "../data/repairs";
import { subscribeUser } from "../data/ws-user";
import type { ExternalAuth } from "../external_app/external_auth";
import "../resources/array.flat.polyfill";
Expand Down Expand Up @@ -121,6 +122,7 @@ window.hassConnection.then(({ conn }) => {
subscribeThemes(conn, noop);
subscribeUser(conn, noop);
subscribeFrontendUserData(conn, "core", noop);
subscribeRepairsIssueRegistry(conn, noop);

if (location.pathname === "/" || location.pathname.startsWith("/lovelace/")) {
const llWindow = window as WindowWithLovelaceProm;
Expand Down

0 comments on commit b12e498

Please sign in to comment.