summaryrefslogtreecommitdiff
path: root/src/components/LallansIssue.astro
diff options
context:
space:
mode:
authorJoe Carstairs <65492573+joeacarstairs@users.noreply.github.com>2024-10-05 17:27:40 +0100
committerGitHub <noreply@github.com>2024-10-05 17:27:40 +0100
commit2febffe5e3036c4b35dff4a8b274f42a7f8fef42 (patch)
tree7287800600f340871620631b8431cef37fc58891 /src/components/LallansIssue.astro
parent285023b7c6bac87e049df0d8040ecd8f4a16ae78 (diff)
parentfdf28cb097596159a002326823f374a64e95c23c (diff)
Merge pull request #103 from joeacarstairs/staging
Update prod
Diffstat (limited to 'src/components/LallansIssue.astro')
-rw-r--r--src/components/LallansIssue.astro6
1 files changed, 4 insertions, 2 deletions
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);
<section>
{
- 'contributions' in issue ? (
+ 'contributions' in issue && issue.contributions ? (
<LallansIssueContributions contributions={issue.contributions} />
+ ) : 'contributors' in issue && issue.contributors ? (
+ <LallansIssueContributors contributors={issue.contributors} />
) : (
- 'contributors' in issue && <LallansIssueContributors contributors={issue.contributors} />
+ <Fragment />
)
}
</section>