diff --git a/src/common/CONSTANTS.js b/src/common/CONSTANTS.js index cceb3d723..e755790bb 100644 --- a/src/common/CONSTANTS.js +++ b/src/common/CONSTANTS.js @@ -11,6 +11,7 @@ const SKIP_EXTRA_NAME = 'skip'; const META_LINK_CATEGORY = 'meta'; const IMDB_LINK_CATEGORY = 'imdb'; const SHARE_LINK_CATEGORY = 'share'; +const WRITERS_LINK_CATEGORY = 'Writers'; const TYPE_PRIORITIES = { movie: 10, series: 9, @@ -37,5 +38,6 @@ module.exports = { META_LINK_CATEGORY, IMDB_LINK_CATEGORY, SHARE_LINK_CATEGORY, + WRITERS_LINK_CATEGORY, TYPE_PRIORITIES }; diff --git a/src/common/MetaPreview/MetaPreview.js b/src/common/MetaPreview/MetaPreview.js index 1d1f00a2b..ee1b2bcf5 100644 --- a/src/common/MetaPreview/MetaPreview.js +++ b/src/common/MetaPreview/MetaPreview.js @@ -164,7 +164,7 @@ const MetaPreview = ({ className, compact, name, logo, background, runtime, rele null } { - typeof description === 'string' && description.length > 0 ? + compact && typeof description === 'string' && description.length > 0 ?
{description}
: null @@ -173,7 +173,8 @@ const MetaPreview = ({ className, compact, name, logo, background, runtime, rele Array.from(linksGroups.keys()) .filter((category) => { return category !== CONSTANTS.IMDB_LINK_CATEGORY && - category !== CONSTANTS.SHARE_LINK_CATEGORY; + category !== CONSTANTS.SHARE_LINK_CATEGORY && + category !== CONSTANTS.WRITERS_LINK_CATEGORY; }) .map((category, index) => (