From b29563a254de7367cc29093464a596ef14cef1a8 Mon Sep 17 00:00:00 2001 From: Erik Date: Fri, 18 Feb 2022 16:41:18 +0100 Subject: [PATCH] Prettier --- .../config/devices/ha-config-device-page.ts | 35 +++++++++---------- 1 file changed, 16 insertions(+), 19 deletions(-) diff --git a/src/panels/config/devices/ha-config-device-page.ts b/src/panels/config/devices/ha-config-device-page.ts index d18fd3e5d4..6d56220da3 100644 --- a/src/panels/config/devices/ha-config-device-page.ts +++ b/src/panels/config/devices/ha-config-device-page.ts @@ -282,24 +282,21 @@ export class HaConfigDevicePage extends LitElement { return; } buttons.push(html` - - ${buttons.length > 1 - ? this.hass.localize( - `ui.panel.config.devices.delete_device_integration`, - { - integration: domainToName( - this.hass.localize, - entry.domain - ), - } - ) - : this.hass.localize(`ui.panel.config.devices.delete_device`)} - - `); + + ${buttons.length > 1 + ? this.hass.localize( + `ui.panel.config.devices.delete_device_integration`, + { + integration: domainToName(this.hass.localize, entry.domain), + } + ) + : this.hass.localize(`ui.panel.config.devices.delete_device`)} + + `); }); if (buttons.length > 0) { @@ -308,7 +305,7 @@ export class HaConfigDevicePage extends LitElement { } private async _confirmDeleteEntry(e: MouseEvent): Promise { - const entryId = (e.currentTarget as any). entryId; + const entryId = (e.currentTarget as any).entryId; const confirmed = await showConfirmationDialog(this, { text: this.hass.localize("ui.panel.config.devices.confirm_delete"),