Skip to content

Commit

Permalink
[issue-3221] Pb when checksum is not available
Browse files Browse the repository at this point in the history
  • Loading branch information
xavierfacq committed Nov 20, 2024
1 parent f0da85e commit 2a448f0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/MarketplaceDownloadTable/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,10 @@ const BinaryTable = ({ checksum, link, filename, os, arch, pkgType, javaVersion,
<table><tbody>
<tr>
<td>
<a href="" data-bs-toggle="modal" data-bs-target="#checksumModal" data-bs-checksum={checksum}><Trans>Checksum</Trans> (SHA256)</a>
{checksum
? <a href="" data-bs-toggle="modal" data-bs-target="#checksumModal" data-bs-checksum={checksum}><Trans>Checksum</Trans> (SHA256)</a>
: <Trans>No Checksum</Trans>

Check warning on line 117 in src/components/MarketplaceDownloadTable/index.tsx

View check run for this annotation

Codecov / codecov/patch

src/components/MarketplaceDownloadTable/index.tsx#L117

Added line #L117 was not covered by tests
}
</td>
</tr>
</tbody></table>
Expand Down

0 comments on commit 2a448f0

Please sign in to comment.