mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-05-07 14:05:28 +03:00
remove unused
This commit is contained in:
parent
b01d4779da
commit
cbefc3acc4
@ -19,13 +19,11 @@
|
|||||||
"startLabel": "Start",
|
"startLabel": "Start",
|
||||||
"endLabel": "End",
|
"endLabel": "End",
|
||||||
"toast": {
|
"toast": {
|
||||||
"success": "Debug replay started successfully",
|
|
||||||
"error": "Failed to start debug replay: {{error}}",
|
"error": "Failed to start debug replay: {{error}}",
|
||||||
"alreadyActive": "A replay session is already active",
|
"alreadyActive": "A replay session is already active",
|
||||||
"stopped": "Debug replay stopped",
|
"stopped": "Debug replay stopped",
|
||||||
"stopError": "Failed to stop debug replay: {{error}}",
|
"stopError": "Failed to stop debug replay: {{error}}",
|
||||||
"goToReplay": "Go to Replay",
|
"goToReplay": "Go to Replay"
|
||||||
"preparingClip": "Preparing replay clip…"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"page": {
|
"page": {
|
||||||
|
|||||||
@ -262,10 +262,7 @@ export default function MobileReviewSettingsDrawer({
|
|||||||
end_time: debugReplayRange.before,
|
end_time: debugReplayRange.before,
|
||||||
});
|
});
|
||||||
|
|
||||||
if (response.status === 200) {
|
if (response.status === 202 || response.status === 200) {
|
||||||
toast.success(t("dialog.toast.success", { ns: "views/replay" }), {
|
|
||||||
position: "top-center",
|
|
||||||
});
|
|
||||||
setDebugReplayMode("none");
|
setDebugReplayMode("none");
|
||||||
setDebugReplayRange(undefined);
|
setDebugReplayRange(undefined);
|
||||||
setDrawerMode("none");
|
setDrawerMode("none");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user