Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion hassio/src/dialogs/registries/dialog-hassio-registries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class HassioRegistriesDialog extends LitElement {
return html`
<ha-dialog
.open=${this._opened}
@closing=${this.closeDialog}
@closed=${this.closeDialog}
scrimClickAction
escapeKeyAction
.heading=${createCloseHeading(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class HassioRepositoriesDialog extends LitElement {
return html`
<ha-dialog
.open=${this._opened}
@closing=${this.closeDialog}
@closed=${this.closeDialog}
scrimClickAction
escapeKeyAction
.heading=${createCloseHeading(
Expand Down
3 changes: 2 additions & 1 deletion hassio/src/dialogs/snapshot/dialog-hassio-create-snapshot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ class HassioCreateSnapshotDialog extends LitElement {
return html`
<ha-dialog
open
@closing=${this.closeDialog}
scrimClickAction
@closed=${this.closeDialog}
.heading=${createCloseHeading(
this.hass,
this._dialogParams.supervisor.localize("snapshot.create_snapshot")
Expand Down
5 changes: 3 additions & 2 deletions hassio/src/dialogs/snapshot/dialog-hassio-snapshot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ class HassioSnapshotDialog
return html`
<ha-dialog
open
@closing=${this.closeDialog}
scrimClickAction
@closed=${this.closeDialog}
.heading=${createCloseHeading(this.hass, this._computeName)}
>
${this._restoringSnapshot
Expand All @@ -88,7 +89,7 @@ class HassioSnapshotDialog
fixed
slot="primaryAction"
@action=${this._handleMenuAction}
@closing=${(ev: Event) => ev.stopPropagation()}
@closed=${(ev: Event) => ev.stopPropagation()}
>
<mwc-icon-button slot="trigger" alt="menu">
<ha-svg-icon .path=${mdiDotsVertical}></ha-svg-icon>
Expand Down
2 changes: 1 addition & 1 deletion src/dialogs/generic/dialog-box.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class DialogMQTTDeviceDebugInfo extends LitElement {
return html`
<ha-dialog
open
@closing=${this._close}
@closed=${this._close}
.heading="${this.hass!.localize(
"ui.dialogs.mqtt_device_debug_info.title",
"device",
Expand Down
2 changes: 1 addition & 1 deletion src/panels/config/helpers/dialog-helper-detail.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export class DialogHelperDetail extends LitElement {
return html`
<ha-dialog
.open=${this._opened}
@closing=${this.closeDialog}
@closed=${this.closeDialog}
class=${classMap({ "button-left": !this._platform })}
scrimClickAction
escapeKeyAction
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ class DialogOZWRefreshNode extends LitElement {
return html`
<ha-dialog
open
@closing="${this._close}"
@closed="${this._close}"
.heading=${createCloseHeading(
this.hass,
this.hass.localize("ui.panel.config.ozw.refresh_node.title")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class DialogZHACluster extends LitElement {
<ha-dialog
open
hideActions
@closing="${this._close}"
@closed="${this._close}"
.heading=${createCloseHeading(
this.hass,
this.hass.localize("ui.panel.config.zha.clusters.header")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class DialogZHADeviceZigbeeInfo extends LitElement {
<ha-dialog
open
hideActions
@closing="${this._close}"
@closed="${this._close}"
.heading=${createCloseHeading(
this.hass,
this.hass.localize(`ui.dialogs.zha_device_info.device_signature`)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export class DialogLovelaceDashboardDetail extends LitElement {
return html`
<ha-dialog
open
@closing="${this._close}"
@closed="${this._close}"
scrimClickAction
escapeKeyAction
.heading=${createCloseHeading(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export class DialogLovelaceResourceDetail extends LitElement {
return html`
<ha-dialog
open
@closing=${this._close}
@closed=${this._close}
scrimClickAction
escapeKeyAction
.heading=${createCloseHeading(
Expand Down
2 changes: 1 addition & 1 deletion src/panels/config/users/dialog-add-user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export class DialogAddUser extends LitElement {
return html`
<ha-dialog
open
@closing=${this._close}
@closed=${this._close}
scrimClickAction
escapeKeyAction
.heading=${this.hass.localize("ui.panel.config.users.add_user.caption")}
Expand Down
2 changes: 1 addition & 1 deletion src/panels/config/users/dialog-user-detail.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class DialogUserDetail extends LitElement {
return html`
<ha-dialog
open
@closing=${this._close}
@closed=${this._close}
scrimClickAction
escapeKeyAction
.heading=${createCloseHeading(this.hass, user.name)}
Expand Down
2 changes: 1 addition & 1 deletion src/panels/profile/dialog-ha-mfa-module-setup-flow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class HaMfaModuleSetupFlow extends LitElement {
<ha-dialog
open
.heading=${this._computeStepTitle()}
@closing=${this.closeDialog}
@closed=${this.closeDialog}
>
<div>
${this._errorMessage
Expand Down