fix check for snapshot score

for manual events, snapScore is 0, so "0" gets displayed instead of a condition being evaluated.
This commit is contained in:
Josh Hawkins 2025-04-23 07:40:21 -05:00
parent cee5d6e5ee
commit f98dd7d31f

View File

@ -792,7 +792,7 @@ function ObjectDetailsTab({
{topScore}%{subLabelScore && ` (${subLabelScore}%)`}
</div>
</div>
{snapScore && (
{snapScore != undefined && (
<div className="flex flex-col gap-1.5">
<div className="text-sm text-primary/40">
<div className="flex flex-row items-center gap-1">