This commit is contained in:
Nicolas Mowen 2025-03-27 17:38:59 -06:00
parent dc347a2135
commit 31d37e65db

View File

@ -506,10 +506,10 @@ function TrainingGrid({
<div className="flex flex-col gap-2 rounded-lg bg-card p-2"> <div className="flex flex-col gap-2 rounded-lg bg-card p-2">
<div className="flex flex-row justify-between"> <div className="flex flex-row justify-between">
<div className="capitalize"> <div className="capitalize">
Person: Person
{event && event?.sub_label {event && event?.sub_label
? ` ${event.sub_label} (${Math.round((event.data.sub_label_score || 0) * 100)}%)` ? `: ${event.sub_label} (${Math.round((event.data.sub_label_score || 0) * 100)}%)`
: " Unknown"} : ": Unknown"}
</div> </div>
{event && ( {event && (
<Tooltip> <Tooltip>