Compare commits

...

2 Commits

Author SHA1 Message Date
Aidan Timson
3d46fd2a1a No need for default text 2025-12-09 14:31:05 +00:00
Aidan Timson
baf898fd25 Add missing close icon in adaptive dialog mode 2025-12-09 14:28:17 +00:00

View File

@@ -125,7 +125,7 @@ export class HaAdaptiveDialog extends LitElement {
<slot name="headerNavigationIcon" slot="navigationIcon">
<ha-icon-button
data-drawer="close"
.label=${this.hass?.localize("ui.common.close") ?? "Close"}
.label=${this.hass.localize("ui.common.close")}
.path=${mdiClose}
></ha-icon-button>
</slot>
@@ -157,7 +157,13 @@ export class HaAdaptiveDialog extends LitElement {
.headerSubtitlePosition=${this.headerSubtitlePosition}
flexcontent
>
<slot name="headerNavigationIcon" slot="headerNavigationIcon"></slot>
<slot name="headerNavigationIcon" slot="headerNavigationIcon">
<ha-icon-button
data-dialog="close"
.label=${this.hass.localize("ui.common.close")}
.path=${mdiClose}
></ha-icon-button>
</slot>
<slot name="headerTitle" slot="headerTitle"></slot>
<slot name="headerSubtitle" slot="headerSubtitle"></slot>
<slot name="headerActionItems" slot="headerActionItems"></slot>