mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-28 19:56:42 +00:00
parent
67f9be2b77
commit
f4ca94f2e1
@ -202,16 +202,18 @@ export class HaMediaPlayerBrowse extends LitElement {
|
|||||||
</ha-card>
|
</ha-card>
|
||||||
${child.can_play
|
${child.can_play
|
||||||
? html`
|
? html`
|
||||||
<mwc-icon-button class="play">
|
<mwc-icon-button
|
||||||
|
class="play"
|
||||||
|
.item=${child}
|
||||||
|
.label=${this.hass.localize(
|
||||||
|
`ui.components.media-browser.${this.action}-media`
|
||||||
|
)}
|
||||||
|
@click=${this._actionClicked}
|
||||||
|
>
|
||||||
<ha-svg-icon
|
<ha-svg-icon
|
||||||
.item=${child}
|
|
||||||
.label=${this.hass.localize(
|
|
||||||
`ui.components.media-browser.${this.action}-media`
|
|
||||||
)}
|
|
||||||
.path=${this.action === "play"
|
.path=${this.action === "play"
|
||||||
? mdiPlay
|
? mdiPlay
|
||||||
: mdiPlus}
|
: mdiPlus}
|
||||||
@click=${this._actionClicked}
|
|
||||||
></ha-svg-icon>
|
></ha-svg-icon>
|
||||||
</mwc-icon-button>
|
</mwc-icon-button>
|
||||||
`
|
`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user