From 3c546f9a01a0645468861887770b7ad0b473b21b Mon Sep 17 00:00:00 2001 From: Joe Carstairs Date: Sat, 5 Oct 2024 17:19:03 +0100 Subject: Better check for contributors in LallansIssue component --- src/components/LallansIssue.astro | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/components') diff --git a/src/components/LallansIssue.astro b/src/components/LallansIssue.astro index 317ff2d..a9cdbc6 100644 --- a/src/components/LallansIssue.astro +++ b/src/components/LallansIssue.astro @@ -39,10 +39,12 @@ const t = translate(locale);
{ - 'contributions' in issue ? ( + 'contributions' in issue && issue.contributions ? ( + ) : 'contributors' in issue && issue.contributors ? ( + ) : ( - 'contributors' in issue && + ) }
-- cgit v1.2.3