mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-05 18:55:23 +03:00
Update web/src/routes/Export.jsx
Co-authored-by: Blake Blackshear <blakeb@blakeshome.com>
This commit is contained in:
parent
5254cfeea2
commit
e8527f9b69
@ -48,7 +48,7 @@ export default function Export() {
|
|||||||
const end = new Date(`${endDate}T${endTime}`).getTime() / 1000;
|
const end = new Date(`${endDate}T${endTime}`).getTime() / 1000;
|
||||||
|
|
||||||
if (end <= start) {
|
if (end <= start) {
|
||||||
setMessage({ text: 'The end time must be larger than the start time.', error: true });
|
setMessage({ text: 'The end time must be after the start time.', error: true });
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user