mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-28 03:36:44 +00:00
Minor tweaks for when media player has no items (#7374)
This commit is contained in:
parent
7e769d0e14
commit
3277a4e8c3
@ -378,6 +378,7 @@ export class HaMediaPlayerBrowse extends LitElement {
|
|||||||
: html`
|
: html`
|
||||||
<div class="container">
|
<div class="container">
|
||||||
${this.hass.localize("ui.components.media-browser.no_items")}
|
${this.hass.localize("ui.components.media-browser.no_items")}
|
||||||
|
<br />
|
||||||
${currentItem.media_content_id ===
|
${currentItem.media_content_id ===
|
||||||
"media-source://media_source/local/."
|
"media-source://media_source/local/."
|
||||||
? html`<br />${this.hass.localize(
|
? html`<br />${this.hass.localize(
|
||||||
@ -398,7 +399,7 @@ export class HaMediaPlayerBrowse extends LitElement {
|
|||||||
<br />
|
<br />
|
||||||
${this.hass.localize(
|
${this.hass.localize(
|
||||||
"ui.components.media-browser.local_media_files"
|
"ui.components.media-browser.local_media_files"
|
||||||
)}.`
|
)}`
|
||||||
: ""}
|
: ""}
|
||||||
</div>
|
</div>
|
||||||
`}
|
`}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user