From ce7acb0feb2c0f455f656dc860a408d22ea119f4 Mon Sep 17 00:00:00 2001 From: Philip Allgaier Date: Mon, 19 Oct 2020 14:40:01 +0200 Subject: [PATCH] Clean up general config page code (#7383) --- .../config/core/ha-config-section-core.js | 58 ------------------- .../ha-config-server-control.ts | 2 +- 2 files changed, 1 insertion(+), 59 deletions(-) diff --git a/src/panels/config/core/ha-config-section-core.js b/src/panels/config/core/ha-config-section-core.js index 3dc768f19d..63888c047d 100644 --- a/src/panels/config/core/ha-config-section-core.js +++ b/src/panels/config/core/ha-config-section-core.js @@ -19,37 +19,6 @@ import "./ha-config-url-form"; class HaConfigSectionCore extends LocalizeMixin(PolymerElement) { static get template() { return html` - [[localize('ui.panel.config.core.section.core.header')]] { - this.validating = false; - this.isValid = result.result === "valid"; - - if (!this.isValid) { - this.validateLog = result.errors; - } - }); - } } customElements.define("ha-config-section-core", HaConfigSectionCore); diff --git a/src/panels/config/server_control/ha-config-server-control.ts b/src/panels/config/server_control/ha-config-server-control.ts index 62622baeab..f63cfab076 100644 --- a/src/panels/config/server_control/ha-config-server-control.ts +++ b/src/panels/config/server_control/ha-config-server-control.ts @@ -270,7 +270,7 @@ export class HaConfigServerControl extends LitElement { } .validate-log { - white-space: pre-wrap; + white-space: pre-line; direction: ltr; }