mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-01-22 20:18:30 +03:00
fix: fix password setting overlay time i18n
This commit is contained in:
parent
54f4af3c6a
commit
7fc8b6a2d8
@ -54,7 +54,7 @@ export default function SetPasswordDialog({
|
|||||||
config?.auth?.refresh_time ?? undefined;
|
config?.auth?.refresh_time ?? undefined;
|
||||||
const refreshTimeLabel = refreshSeconds
|
const refreshTimeLabel = refreshSeconds
|
||||||
? formatSecondsToDuration(refreshSeconds)
|
? formatSecondsToDuration(refreshSeconds)
|
||||||
: "30 minutes";
|
: t("time.30minutes", { ns: "common" });
|
||||||
|
|
||||||
// visibility toggles for password fields
|
// visibility toggles for password fields
|
||||||
const [showOldPassword, setShowOldPassword] = useState<boolean>(false);
|
const [showOldPassword, setShowOldPassword] = useState<boolean>(false);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user