mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-09 18:36:35 +00:00
media_class of integrations should be app (#11444)
This commit is contained in:
parent
6044ea92ad
commit
04e63eefe2
@ -255,8 +255,10 @@ export class HaMediaPlayerBrowse extends LitElement {
|
|||||||
${child.thumbnail
|
${child.thumbnail
|
||||||
? html`
|
? html`
|
||||||
<div
|
<div
|
||||||
class="${child.media_class ===
|
class="${[
|
||||||
"directory"
|
"app",
|
||||||
|
"directory",
|
||||||
|
].includes(child.media_class)
|
||||||
? "centered-image"
|
? "centered-image"
|
||||||
: ""} image lazythumbnail"
|
: ""} image lazythumbnail"
|
||||||
data-src=${child.thumbnail}
|
data-src=${child.thumbnail}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user