fix: show missing artifact percentage as dash
This commit is contained in:
@@ -193,7 +193,7 @@ export async function GET(
|
||||
{row.note ? <div style={{ display: "flex", color: "#b9b9c2", fontSize: 14, lineHeight: 1.55 }}>{row.note}</div> : null}
|
||||
</div>
|
||||
<div style={{ display: "flex", color: "#f0b72f", fontSize: 26, fontWeight: 700 }}>
|
||||
{metric(row.percent)}
|
||||
{Number(row.percent) === 0 ? "-%" : metric(row.percent)}
|
||||
</div>
|
||||
</div>
|
||||
))}
|
||||
|
||||
Reference in New Issue
Block a user