Fix hassio loading

This commit is contained in:
Paulus Schoutsen 2019-04-10 12:46:42 -07:00
parent 26a39b1bb8
commit 4d7bb0df7d
1 changed files with 2 additions and 1 deletions

View File

@ -20,6 +20,8 @@ import {
} from "../../src/data/hassio";
import { makeDialogManager } from "../../src/dialogs/make-dialog-manager";
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
// is not called, causing _keyBindings to be uninitiliazed for paper-icon-button,
@ -40,7 +42,6 @@ class HassioMain extends ProvideHassLitMixin(HassRouterPage) {
dashboard: {
tag: "hassio-pages-with-tabs",
cache: true,
load: () => import("./hassio-pages-with-tabs"),
},
snapshots: "dashboard",
store: "dashboard",