From 78c14150e99e445aec50b096a6ad6498dbaacf9f Mon Sep 17 00:00:00 2001 From: "Ben van Eekelen (work)" Date: Mon, 4 Mar 2024 17:23:55 +0100 Subject: [PATCH] Hotfix/cor 1921 fix merged json links (#4999) * hotfix(COR-1921): Fixed missing comma for last json link * refactor(COR-1921): Remove unused condition --------- Co-authored-by: M <120020483+VWSCoronaDashboard30@users.noreply.github.com> --- .../components/page-information-block/components/metadata.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/app/src/components/page-information-block/components/metadata.tsx b/packages/app/src/components/page-information-block/components/metadata.tsx index 3002790120..9d1640df9e 100644 --- a/packages/app/src/components/page-information-block/components/metadata.tsx +++ b/packages/app/src/components/page-information-block/components/metadata.tsx @@ -140,7 +140,7 @@ function MetadataItem({ icon, label, items, referenceLink, accessibilityText, ac {`${label}: `} {items.map((item, index) => ( - {index > 0 && index !== items.length && ', '} + {index > 0 && ', '} {item.href && (