From fa9c6a765ab879c25e947b01dec8c4352275d134 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20S=C3=B8rensen?= Date: Wed, 26 May 2021 11:10:27 +0200 Subject: [PATCH] Replace closing with closed in dialogs (#9257) --- hassio/src/dialogs/registries/dialog-hassio-registries.ts | 2 +- .../src/dialogs/repositories/dialog-hassio-repositories.ts | 2 +- hassio/src/dialogs/snapshot/dialog-hassio-create-snapshot.ts | 3 ++- hassio/src/dialogs/snapshot/dialog-hassio-snapshot.ts | 5 +++-- src/dialogs/generic/dialog-box.ts | 2 +- .../mqtt/dialog-mqtt-device-debug-info.ts | 2 +- src/panels/config/helpers/dialog-helper-detail.ts | 2 +- .../integration-panels/ozw/dialog-ozw-refresh-node.ts | 2 +- .../integration-panels/zha/dialog-zha-cluster.ts | 2 +- .../integration-panels/zha/dialog-zha-device-zigbee-info.ts | 2 +- .../lovelace/dashboards/dialog-lovelace-dashboard-detail.ts | 2 +- .../lovelace/resources/dialog-lovelace-resource-detail.ts | 2 +- src/panels/config/users/dialog-add-user.ts | 2 +- src/panels/config/users/dialog-user-detail.ts | 2 +- src/panels/profile/dialog-ha-mfa-module-setup-flow.ts | 2 +- 15 files changed, 18 insertions(+), 16 deletions(-) diff --git a/hassio/src/dialogs/registries/dialog-hassio-registries.ts b/hassio/src/dialogs/registries/dialog-hassio-registries.ts index 80b7e32993..6cd738119a 100644 --- a/hassio/src/dialogs/registries/dialog-hassio-registries.ts +++ b/hassio/src/dialogs/registries/dialog-hassio-registries.ts @@ -45,7 +45,7 @@ class HassioRegistriesDialog extends LitElement { return html` ${this._restoringSnapshot @@ -88,7 +89,7 @@ class HassioSnapshotDialog fixed slot="primaryAction" @action=${this._handleMenuAction} - @closing=${(ev: Event) => ev.stopPropagation()} + @closed=${(ev: Event) => ev.stopPropagation()} > diff --git a/src/dialogs/generic/dialog-box.ts b/src/dialogs/generic/dialog-box.ts index e7e4bee7b2..4fc1c09cde 100644 --- a/src/dialogs/generic/dialog-box.ts +++ b/src/dialogs/generic/dialog-box.ts @@ -49,7 +49,7 @@ class DialogBox extends LitElement { open ?scrimClickAction=${confirmPrompt} ?escapeKeyAction=${confirmPrompt} - @closing=${this._dialogClosed} + @closed=${this._dialogClosed} defaultAction="ignore" .heading=${this._params.title ? this._params.title diff --git a/src/panels/config/devices/device-detail/integration-elements/mqtt/dialog-mqtt-device-debug-info.ts b/src/panels/config/devices/device-detail/integration-elements/mqtt/dialog-mqtt-device-debug-info.ts index f97427a067..0208bbbd7a 100644 --- a/src/panels/config/devices/device-detail/integration-elements/mqtt/dialog-mqtt-device-debug-info.ts +++ b/src/panels/config/devices/device-detail/integration-elements/mqtt/dialog-mqtt-device-debug-info.ts @@ -49,7 +49,7 @@ class DialogMQTTDeviceDebugInfo extends LitElement { return html`
${this._errorMessage