mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +00:00
Hassio fixes
This commit is contained in:
parent
e23f046c4d
commit
26a39b1bb8
@ -113,7 +113,7 @@ class HassioAddonView extends PolymerElement {
|
||||
if (!path) return;
|
||||
|
||||
if (path.substr(path.lastIndexOf("/") + 1) === "uninstall") {
|
||||
this.backTapped();
|
||||
history.back();
|
||||
} else {
|
||||
this.routeDataChanged(this.route);
|
||||
}
|
||||
|
@ -20,8 +20,6 @@ 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,
|
||||
@ -42,6 +40,7 @@ class HassioMain extends ProvideHassLitMixin(HassRouterPage) {
|
||||
dashboard: {
|
||||
tag: "hassio-pages-with-tabs",
|
||||
cache: true,
|
||||
load: () => import("./hassio-pages-with-tabs"),
|
||||
},
|
||||
snapshots: "dashboard",
|
||||
store: "dashboard",
|
||||
|
Loading…
x
Reference in New Issue
Block a user