File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
dotcom-rendering/src/components Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 11import { css } from '@emotion/react' ;
22import { isUndefined } from '@guardian/libs' ;
3- import { from , space , until } from '@guardian/source/foundations' ;
43import { StraightLines } from '@guardian/source-development-kitchen/react-components' ;
4+ import { from , space , until } from '@guardian/source/foundations' ;
55import type { ReactNode } from 'react' ;
66import { grid } from '../grid' ;
77import { interactiveLegacyClasses } from '../layouts/lib/interactiveLegacyStyling' ;
@@ -254,6 +254,9 @@ export const ArticleMetaApps = ({
254254 const isImmersiveOrAnalysisWithMultipleAuthors =
255255 ( isAnalysis || isImmersive ) && ! ! byline && isUndefined ( soleContributor ) ;
256256
257+ const shouldShowListenToArticleButton =
258+ ! ! pageId && ! ( isLiveBlog || isPicture || isGallery ) ;
259+
257260 return (
258261 < div
259262 className = {
@@ -365,7 +368,7 @@ export const ArticleMetaApps = ({
365368 </ MetaGridBranding >
366369 ) }
367370 </ div >
368- { pageId !== undefined && (
371+ { shouldShowListenToArticleButton && (
369372 < Island priority = "feature" defer = { { until : 'visible' } } >
370373 < ListenToArticle articleId = { pageId } />
371374 </ Island >
You can’t perform that action at this time.
0 commit comments