Skip to content

Commit

Permalink
Fix header of config entry system options dialog (#23455)
Browse files Browse the repository at this point in the history
Fix config entry system options dialog header
  • Loading branch information
jpbede authored Dec 26, 2024
1 parent 6fe4f94 commit d9dfea9
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import type { CSSResultGroup } from "lit";
import { css, html, LitElement, nothing } from "lit";
import { customElement, property, state } from "lit/decorators";
import { fireEvent } from "../../common/dom/fire_event";
import "../../components/ha-dialog";
import { createCloseHeading } from "../../components/ha-dialog";
import "../../components/ha-formfield";
import "../../components/ha-switch";
import type { HaSwitch } from "../../components/ha-switch";
Expand Down Expand Up @@ -52,14 +52,14 @@ class DialogConfigEntrySystemOptions extends LitElement {
<ha-dialog
open
@closed=${this.closeDialog}
.heading=${this.hass.localize(
"ui.dialogs.config_entry_system_options.title",
{
.heading=${createCloseHeading(
this.hass,
this.hass.localize("ui.dialogs.config_entry_system_options.title", {
integration:
this.hass.localize(
`component.${this._params.entry.domain}.title`
) || this._params.entry.domain,
}
})
)}
>
${this._error ? html` <div class="error">${this._error}</div> ` : ""}
Expand Down

0 comments on commit d9dfea9

Please sign in to comment.