- {
- typeof logo === 'string' && logo.length > 0 ?
-
- :
- null
- }
+
{
(typeof releaseInfo === 'string' && releaseInfo.length > 0) || (released instanceof Date && !isNaN(released.getTime())) || (typeof runtime === 'string' && runtime.length > 0) || linksGroups.has(CONSTANTS.IMDB_LINK_CATEGORY) ?
@@ -155,7 +159,7 @@ const MetaPreview = ({ className, compact, name, logo, background, runtime, rele
null
}
{
- typeof name === 'string' && name.length > 0 ?
+ compact && typeof name === 'string' && name.length > 0 ?
{name}
@@ -163,7 +167,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
@@ -172,7 +176,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 !== 'Writers';
})
.map((category, index) => (