Face Library: show name on details

This commit is contained in:
leccelecce 2025-03-19 10:38:52 +00:00
parent 5514fc11b9
commit 06629b1a3b
2 changed files with 5 additions and 0 deletions

View File

@ -3,6 +3,7 @@
"addFace": "Walk through adding a new face to the Face Library."
},
"details": {
"person": "Person",
"confidence": "Confidence",
"face": "Face Details",
"faceDesc": "Details for the face and associated object",

View File

@ -368,6 +368,10 @@ function TrainingGrid({
<DialogTitle>{t("details.face")}</DialogTitle>
<DialogDescription>{t("details.faceDesc")}</DialogDescription>
</DialogHeader>
<div className="flex flex-col gap-1.5">
<div className="text-sm text-primary/40">{t("details.person")}</div>
<div className="text-sm capitalize">{selectedEvent?.name}</div>
</div>
<div className="flex flex-col gap-1.5">
<div className="text-sm text-primary/40">
{t("details.confidence")}