From 42f9739b79a4b01006c24b894aab2fc296d783c3 Mon Sep 17 00:00:00 2001 From: VarunVAshrit <159520405+VarunVAshrit@users.noreply.github.com> Date: Tue, 3 Sep 2024 11:32:37 +0530 Subject: [PATCH] =?UTF-8?q?:bug:=20Magazine=20footer(teaser)=20isn't=20sho?= =?UTF-8?q?wing=20the=20link=20to=20the=20subscribe=E2=80=A6=20(#2498)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * :bug: Magazine footer(teaser) isn't showing the link to the subscribe form * :bug: Magazine footer(teaser) isn't showing the link to the subscribe form. --- web/lib/queries/magazine.ts | 2 +- web/pageComponents/shared/Teaser.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web/lib/queries/magazine.ts b/web/lib/queries/magazine.ts index 5e708bf9a..83fceaa51 100644 --- a/web/lib/queries/magazine.ts +++ b/web/lib/queries/magazine.ts @@ -22,7 +22,7 @@ const footerComponentFields = /* groq */ ` ..., "extension": asset-> extension }, - "action": action[0]{ + "actions": [action[0]]{ ${linkSelectorFields}, ${downloadableFileFields}, ${downloadableImageFields}, diff --git a/web/pageComponents/shared/Teaser.tsx b/web/pageComponents/shared/Teaser.tsx index c929280fe..28324db51 100644 --- a/web/pageComponents/shared/Teaser.tsx +++ b/web/pageComponents/shared/Teaser.tsx @@ -114,4 +114,4 @@ const Teaser = ({ data, anchor }: TeaserProps) => { ) } -export default Teaser +export default Teaser \ No newline at end of file