mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +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) return;
|
||||||
|
|
||||||
if (path.substr(path.lastIndexOf("/") + 1) === "uninstall") {
|
if (path.substr(path.lastIndexOf("/") + 1) === "uninstall") {
|
||||||
this.backTapped();
|
history.back();
|
||||||
} else {
|
} else {
|
||||||
this.routeDataChanged(this.route);
|
this.routeDataChanged(this.route);
|
||||||
}
|
}
|
||||||
|
@ -20,8 +20,6 @@ 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,
|
||||||
@ -42,6 +40,7 @@ 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