File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
dotcom-rendering/src/components Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -146,6 +146,11 @@ export const SubMeta = ({
146
146
} ;
147
147
} ;
148
148
const { links, hasLinks } = createLinks ( ) ;
149
+
150
+ const showSindicationButton =
151
+ format . design !== ArticleDesign . Interactive &&
152
+ format . design !== ArticleDesign . Gallery ;
153
+
149
154
return (
150
155
< div
151
156
data-print-layout = "hide"
@@ -193,8 +198,7 @@ export const SubMeta = ({
193
198
/>
194
199
</ Island >
195
200
< div css = { syndicationButtonOverrides } >
196
- { format . design === ArticleDesign . Interactive ||
197
- format . design === ArticleDesign . Gallery ? null : (
201
+ { showSindicationButton ? (
198
202
< LinkButton
199
203
priority = "tertiary"
200
204
size = "xsmall"
@@ -219,7 +223,7 @@ export const SubMeta = ({
219
223
>
220
224
Reuse this content
221
225
</ LinkButton >
222
- ) }
226
+ ) : null }
223
227
</ div >
224
228
</ div >
225
229
) }
You can’t perform that action at this time.
0 commit comments