From c5b0ebf76dc6d720a152f761f5aad7ec37374b0f Mon Sep 17 00:00:00 2001 From: Bram Kragten Date: Fri, 27 Nov 2020 00:01:34 +0100 Subject: [PATCH] Update ha-config-dashboard.ts --- .../config/dashboard/ha-config-dashboard.ts | 30 +------------------ 1 file changed, 1 insertion(+), 29 deletions(-) diff --git a/src/panels/config/dashboard/ha-config-dashboard.ts b/src/panels/config/dashboard/ha-config-dashboard.ts index ce32783994..7c7466704c 100644 --- a/src/panels/config/dashboard/ha-config-dashboard.ts +++ b/src/panels/config/dashboard/ha-config-dashboard.ts @@ -21,8 +21,7 @@ import { HomeAssistant } from "../../../types"; import "../ha-config-section"; import { configSections } from "../ha-panel-config"; import "./ha-config-navigation"; -import { mdiClose, mdiCloudLock } from "@mdi/js"; -import { showConfirmationDialog } from "../../../dialogs/generic/show-dialog-box"; +import { mdiCloudLock } from "@mdi/js"; @customElement("ha-config-dashboard") class HaConfigDashboard extends LitElement { @@ -144,33 +143,6 @@ class HaConfigDashboard extends LitElement { `; } - private async _dismissConference() { - if ( - await showConfirmationDialog(this, { - title: "Home Assistant Conference", - text: html` - If you've - bought your ticket - or have - subscribed to the livestream, you might want to dismiss this banner. Do you want to continue? - `, - }) - ) { - localStorage.dismissConf2020 = "1"; - this.requestUpdate(); - } - } - static get styles(): CSSResultArray { return [ haStyle,