diff --git a/src/common/MetaPreview/MetaPreview.js b/src/common/MetaPreview/MetaPreview.js index de1a1800c..94c4bc179 100644 --- a/src/common/MetaPreview/MetaPreview.js +++ b/src/common/MetaPreview/MetaPreview.js @@ -157,28 +157,34 @@ const MetaPreview = ({ className, compact, name, logo, background, runtime, rele : null } - { - typeof description === 'string' && description.length > 0 ? -
{description}
- : - null - } + { + compact && typeof description === 'string' && description.length > 0 ? +
{description}
+ : + null + } { Array.from(linksGroups.keys()) - .filter((category) => { - return category !== CONSTANTS.IMDB_LINK_CATEGORY && - category !== CONSTANTS.SHARE_LINK_CATEGORY && - category !== CONSTANTS.WRITERS_LINK_CATEGORY; - }) - .map((category, index) => ( - + .filter((category) => { + return category !== CONSTANTS.IMDB_LINK_CATEGORY && + category !== CONSTANTS.SHARE_LINK_CATEGORY && + category !== CONSTANTS.WRITERS_LINK_CATEGORY; + }) + .map((category, index) => ( + )) - } + } + { + !compact && typeof description === 'string' && description.length > 0 ? +
{description}
+ : + null + }
{