mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-10-06 23:02:49 +03:00
fix missing i18n keys (#18309)
This commit is contained in:
@@ -197,7 +197,7 @@ function ConfigEditor() {
|
||||
listener = (e) => {
|
||||
e.preventDefault();
|
||||
e.returnValue = true;
|
||||
return "Exit without saving?";
|
||||
return t("confirm");
|
||||
};
|
||||
window.addEventListener("beforeunload", listener);
|
||||
}
|
||||
@@ -207,7 +207,7 @@ function ConfigEditor() {
|
||||
window.removeEventListener("beforeunload", listener);
|
||||
}
|
||||
};
|
||||
}, [hasChanges]);
|
||||
}, [hasChanges, t]);
|
||||
|
||||
if (!config) {
|
||||
return <ActivityIndicator />;
|
||||
|
||||
Reference in New Issue
Block a user