mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-23 09:16:38 +00:00
Fix hassio audio
This commit is contained in:
parent
788c490bbc
commit
e0376c803f
@ -61,7 +61,9 @@ class HassioAddonAudio extends LitElement {
|
|||||||
${this._inputDevices &&
|
${this._inputDevices &&
|
||||||
this._inputDevices.map((item) => {
|
this._inputDevices.map((item) => {
|
||||||
return html`
|
return html`
|
||||||
<paper-item device=${item.device}>${item.name}</paper-item>
|
<paper-item device=${item.device || ""}
|
||||||
|
>${item.name}</paper-item
|
||||||
|
>
|
||||||
`;
|
`;
|
||||||
})}
|
})}
|
||||||
</paper-listbox>
|
</paper-listbox>
|
||||||
@ -78,7 +80,9 @@ class HassioAddonAudio extends LitElement {
|
|||||||
${this._outputDevices &&
|
${this._outputDevices &&
|
||||||
this._outputDevices.map((item) => {
|
this._outputDevices.map((item) => {
|
||||||
return html`
|
return html`
|
||||||
<paper-item device=${item.device}>${item.name}</paper-item>
|
<paper-item device=${item.device || ""}
|
||||||
|
>${item.name}</paper-item
|
||||||
|
>
|
||||||
`;
|
`;
|
||||||
})}
|
})}
|
||||||
</paper-listbox>
|
</paper-listbox>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user