Skip to content

Commit 4db8289

Browse files
committed
fix accidental removal of the affiliate links disclaimer in galleries
1 parent b98f83a commit 4db8289

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

dotcom-rendering/src/layouts/GalleryLayout.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import { Hide } from '@guardian/source/react-components';
99
import { AdPlaceholder } from '../components/AdPlaceholder.apps';
1010
import { AdPortals } from '../components/AdPortals.importable';
1111
import { AdSlot } from '../components/AdSlot.web';
12+
import { GalleryAffiliateDisclaimer } from '../components/AffiliateDisclaimer';
1213
import { AppsFooter } from '../components/AppsFooter.importable';
1314
import { ArticleHeadline } from '../components/ArticleHeadline';
1415
import { ArticleMetaApps } from '../components/ArticleMeta.apps';
@@ -497,6 +498,9 @@ const Meta = ({
497498
shortUrlId={frontendData.config.shortUrlId}
498499
/>
499500
) : null}
501+
{!!frontendData.affiliateLinksDisclaimer && (
502+
<GalleryAffiliateDisclaimer />
503+
)}
500504
</div>
501505
);
502506

0 commit comments

Comments
 (0)