fix: show missing artifact percentage as dash
This commit is contained in:
@@ -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>
|
||||
))}
|
||||
|
||||
Reference in New Issue
Block a user