mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-27 03:06:41 +00:00
Fix hassio loading
This commit is contained in:
parent
26a39b1bb8
commit
4d7bb0df7d
@ -20,6 +20,8 @@ import {
|
|||||||
} from "../../src/data/hassio";
|
} from "../../src/data/hassio";
|
||||||
import { makeDialogManager } from "../../src/dialogs/make-dialog-manager";
|
import { makeDialogManager } from "../../src/dialogs/make-dialog-manager";
|
||||||
import { ProvideHassLitMixin } from "../../src/mixins/provide-hass-lit-mixin";
|
import { ProvideHassLitMixin } from "../../src/mixins/provide-hass-lit-mixin";
|
||||||
|
// Don't codesplit it, that way the dashboard always loads fast.
|
||||||
|
import "./hassio-pages-with-tabs";
|
||||||
|
|
||||||
// The register callback of the IronA11yKeysBehavior inside paper-icon-button
|
// The register callback of the IronA11yKeysBehavior inside paper-icon-button
|
||||||
// is not called, causing _keyBindings to be uninitiliazed for paper-icon-button,
|
// is not called, causing _keyBindings to be uninitiliazed for paper-icon-button,
|
||||||
@ -40,7 +42,6 @@ class HassioMain extends ProvideHassLitMixin(HassRouterPage) {
|
|||||||
dashboard: {
|
dashboard: {
|
||||||
tag: "hassio-pages-with-tabs",
|
tag: "hassio-pages-with-tabs",
|
||||||
cache: true,
|
cache: true,
|
||||||
load: () => import("./hassio-pages-with-tabs"),
|
|
||||||
},
|
},
|
||||||
snapshots: "dashboard",
|
snapshots: "dashboard",
|
||||||
store: "dashboard",
|
store: "dashboard",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user