mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-04-19 22:12:13 +00:00
Fixed description on details page not showing up
This commit is contained in:
parent
5a6a2c4027
commit
254ed677a8
2 changed files with 6 additions and 1 deletions
|
|
@ -158,7 +158,7 @@ const MetaPreview = ({ className, compact, name, logo, background, runtime, rele
|
|||
null
|
||||
}
|
||||
{
|
||||
compact && typeof description === 'string' && description.length > 0 ?
|
||||
!compact && typeof description === 'string' && description.length > 0 ?
|
||||
<div className={styles['description-container']}>{description}</div>
|
||||
:
|
||||
null
|
||||
|
|
|
|||
5
src/common/MetaPreview/test.js
Normal file
5
src/common/MetaPreview/test.js
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
compact && typeof description === "string" && description.length > 0 ? (
|
||||
<div className={styles["description-container"]}>{description}</div>
|
||||
) : null;
|
||||
}
|
||||
Loading…
Reference in a new issue