Move fields in drop-down for mobile

This commit is contained in:
leccelecce 2025-04-17 09:10:07 +01:00
parent d98e73bc94
commit c994eb539b

View File

@ -372,7 +372,7 @@ export default function FrigatePlusSettingsView({
{new Date( {new Date(
model.trainDate, model.trainDate,
).toLocaleString()}{" "} ).toLocaleString()}{" "}
{model.name} ({model.baseModel}) ( (
{model.isBaseModel {model.isBaseModel
? t( ? t(
"frigatePlus.modelInfo.plusModelType.baseModel", "frigatePlus.modelInfo.plusModelType.baseModel",
@ -382,15 +382,18 @@ export default function FrigatePlusSettingsView({
)} )}
) )
<div> <div>
{t( {model.name} ({model.baseModel})
"frigatePlus.modelInfo.supportedDetectors",
)}
: {model.supportedDetectors.join(", ")}
</div> </div>
<div> <div>
{t("frigatePlus.modelInfo.dimensions")}:{" "} {t("frigatePlus.modelInfo.dimensions")}:{" "}
{model.width + "x" + model.height} {model.width + "x" + model.height}
</div> </div>
<div>
{t(
"frigatePlus.modelInfo.supportedDetectors",
)}
: {model.supportedDetectors.join(", ")}
</div>
<div className="text-xs text-muted-foreground"> <div className="text-xs text-muted-foreground">
{id} {id}
</div> </div>