From a44336df95085f466889c76372874f36e61316b1 Mon Sep 17 00:00:00 2001 From: Marjan Kalanaki Date: Fri, 21 Nov 2025 09:21:13 +0000 Subject: [PATCH] fix multiple secondary onwards on gallery --- dotcom-rendering/src/components/OnwardsUpper.importable.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dotcom-rendering/src/components/OnwardsUpper.importable.tsx b/dotcom-rendering/src/components/OnwardsUpper.importable.tsx index a0f3da797ed..62ba202005e 100644 --- a/dotcom-rendering/src/components/OnwardsUpper.importable.tsx +++ b/dotcom-rendering/src/components/OnwardsUpper.importable.tsx @@ -309,7 +309,9 @@ export const OnwardsUpper = ({ // For galleries: they already have a "more galleries" container, // so we can only allow one more onwards container const canHaveCuratedContent = - format.design === ArticleDesign.Gallery ? isUndefined(url) : true; + format.design === ArticleDesign.Gallery + ? isUndefined(url) && !hasStoryPackage + : true; const hasOnwardsContainer = !!url; const showCuratedContainer =