mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-05-06 13:37:43 +03:00
fix menu
This commit is contained in:
parent
dac0d3eea7
commit
0af9206a07
@ -226,7 +226,7 @@ export default function SearchDetailDialog({
|
|||||||
{item == "object_lifecycle" && (
|
{item == "object_lifecycle" && (
|
||||||
<FaRotate className="size-4" />
|
<FaRotate className="size-4" />
|
||||||
)}
|
)}
|
||||||
<div className="capitalize">{t("type.{item}")}</div>
|
<div className="capitalize">{t(`type.${item}`)}</div>
|
||||||
</ToggleGroupItem>
|
</ToggleGroupItem>
|
||||||
))}
|
))}
|
||||||
</ToggleGroup>
|
</ToggleGroup>
|
||||||
@ -310,8 +310,8 @@ function ObjectDetailsTab({
|
|||||||
const formattedDate = useFormattedTimestamp(
|
const formattedDate = useFormattedTimestamp(
|
||||||
search?.start_time ?? 0,
|
search?.start_time ?? 0,
|
||||||
config?.ui.time_format == "24hour"
|
config?.ui.time_format == "24hour"
|
||||||
? t("time.formattedTimestampWithYear.24hour")
|
? t("time.formattedTimestampWithYear.24hour", { ns: "common" })
|
||||||
: t("time.formattedTimestampWithYear"),
|
: t("time.formattedTimestampWithYear", { ns: "common" }),
|
||||||
config?.ui.timezone,
|
config?.ui.timezone,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user