diff --git a/src/common/MetaPreview/MetaPreview.js b/src/common/MetaPreview/MetaPreview.js index 99409302c..fd29e69ef 100644 --- a/src/common/MetaPreview/MetaPreview.js +++ b/src/common/MetaPreview/MetaPreview.js @@ -103,7 +103,7 @@ const MetaPreview = ({ className, compact, name, logo, background, runtime, rele null } { - (typeof releaseInfo === 'string' && releaseInfo.length > 0) || (released instanceof Date && !isNaN(released.getTime())) || (typeof runtime === 'string' && runtime.length > 0) || typeof linksGroups[CONSTANTS.IMDB_LINK_CATEGORY] === 'object' ? + (typeof releaseInfo === 'string' && releaseInfo.length > 0) || (released instanceof Date && !isNaN(released.getTime())) || (typeof runtime === 'string' && runtime.length > 0) || typeof linksGroups.get(CONSTANTS.IMDB_LINK_CATEGORY) === 'object' ?
{ typeof runtime === 'string' && runtime.length > 0 ? @@ -121,16 +121,16 @@ const MetaPreview = ({ className, compact, name, logo, background, runtime, rele null } { - typeof linksGroups[CONSTANTS.IMDB_LINK_CATEGORY] === 'object' ? + typeof linksGroups.get(CONSTANTS.IMDB_LINK_CATEGORY) === 'object' ? : null @@ -195,7 +195,7 @@ const MetaPreview = ({ className, compact, name, logo, background, runtime, rele null } { - typeof linksGroups[CONSTANTS.SHARE_LINK_CATEGORY] === 'object' ? + typeof linksGroups.get(CONSTANTS.SHARE_LINK_CATEGORY) === 'object' ? :