File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
dotcom-rendering/src/components Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -300,6 +300,7 @@ export const DecideContainer = ({
300
300
absoluteServerTimes = { absoluteServerTimes }
301
301
aspectRatio = { aspectRatio }
302
302
sectionId = { sectionId }
303
+ isInOpinionNoAvatarVariant = { isInOpinionNoAvatarVariant }
303
304
/>
304
305
</ Island >
305
306
) ;
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ type Props = {
17
17
containerType : DCRContainerType ;
18
18
aspectRatio : AspectRatio ;
19
19
sectionId : string ;
20
+ isInOpinionNoAvatarVariant ?: boolean ;
20
21
} ;
21
22
22
23
/**
@@ -35,6 +36,7 @@ export const ScrollableMedium = ({
35
36
showAge,
36
37
aspectRatio,
37
38
sectionId,
39
+ isInOpinionNoAvatarVariant,
38
40
} : Props ) => {
39
41
return (
40
42
< ScrollableCarousel
@@ -51,7 +53,12 @@ export const ScrollableMedium = ({
51
53
return (
52
54
< ScrollableCarousel . Item key = { trail . url } >
53
55
< FrontCard
54
- trail = { trail }
56
+ trail = { {
57
+ ...trail ,
58
+ avatarUrl : isInOpinionNoAvatarVariant
59
+ ? undefined
60
+ : trail . avatarUrl ,
61
+ } }
55
62
imageLoading = { imageLoading }
56
63
absoluteServerTimes = { ! ! absoluteServerTimes }
57
64
containerPalette = { containerPalette }
You can’t perform that action at this time.
0 commit comments