1
0
mirror of https://github.com/home-assistant/frontend.git synced 2026-02-15 07:25:54 +00:00

Fix more-info media source select (#29400)

This commit is contained in:
karwosts
2026-02-04 08:18:49 -08:00
committed by GitHub
parent aec4a06156
commit ebff35d17f

View File

@@ -202,12 +202,11 @@ class MoreInfoMediaPlayer extends LitElement {
return nothing;
}
return html`<ha-dropdown>
return html`<ha-dropdown @wa-select=${this._handleSourceChange}>
<ha-icon-button
slot="trigger"
.label=${this.hass.localize(`ui.card.media_player.source`)}
.path=${mdiLoginVariant}
@wa-select=${this._handleSourceChange}
>
</ha-icon-button>
${this.stateObj.attributes.source_list!.map(