Skip to content

Commit

Permalink
Merge pull request #102 from jonogon/main
Browse files Browse the repository at this point in the history
Merge zero attachment count display bug fix
  • Loading branch information
imas234 authored Sep 11, 2024
2 parents 9dc4518 + d9ee5b0 commit 87b5130
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/jonogon-web-next/src/app/petitions/[id]/_page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ export default function Petition() {
{petition.data.description ?? 'No description yet.'}
</Markdown>
)}
{petition?.data.attachments.filter(
{!!petition?.data.attachments.filter(
(attachment) => attachment.type === 'file',
).length && (
<div>
Expand Down

0 comments on commit 87b5130

Please sign in to comment.