fix: show missing artifact percentage as dash
CI / Verify (push) Successful in 29m46s
CI / Build immutable images and deploy (push) Successful in 1m56s

This commit is contained in:
2026-09-01 13:47:07 +07:00 Unverified
parent bb06108899
commit 9b0b5f8c83
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -357,7 +357,7 @@ function ArtifactSection({ guide }: { guide: PublicGuide }) {
{row.note ? <p className="whitespace-pre-wrap text-sm text-muted-foreground">{row.note}</p> : null}
</div>
<p className="text-2xl font-semibold text-primary">
{metric(row.percent)}
{Number(row.percent) === 0 ? "-%" : metric(row.percent)}
</p>
</div>
))}