summaryrefslogtreecommitdiff
path: root/src/components/LallansIssue.astro
diff options
context:
space:
mode:
authorJoe Carstairs <65492573+Sycamost@users.noreply.github.com>2023-08-12 13:44:33 +0100
committerJoe Carstairs <65492573+Sycamost@users.noreply.github.com>2023-08-12 13:47:45 +0100
commit9080741a41ce398d05a3ad7745241c1b47800d4e (patch)
treeb92a88096f14df5318dec9d3d655964db9864f63 /src/components/LallansIssue.astro
parent4f23f539851e276417edcabd3c8bb0940b76c5bf (diff)
Fixes conditional rendering in LallansIssue.astro
Diffstat (limited to 'src/components/LallansIssue.astro')
-rw-r--r--src/components/LallansIssue.astro4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/LallansIssue.astro b/src/components/LallansIssue.astro
index e57a33c..37f1417 100644
--- a/src/components/LallansIssue.astro
+++ b/src/components/LallansIssue.astro
@@ -30,8 +30,8 @@ const t = translate(locale);
{ 'contributions' in issue ? (
<LallansIssueContributions contributions={issue.contributions} locale={locale} />
) : (
- 'contributors' in issue ? (
+ 'contributors' in issue && (
<LallansIssueContributors contributors={issue.contributors} />
- ) : (<></>)
+ )
)
} \ No newline at end of file