Add ability to search exports (#10850)

* Add ability to search exports

* Fix export saving
This commit is contained in:
Nicolas Mowen
2024-04-07 14:35:45 -06:00
committed by GitHub
parent af320c8c09
commit b26ceff44d
4 changed files with 72 additions and 27 deletions

View File

@@ -66,10 +66,13 @@ export default function MobileReviewSettingsDrawer({
}
axios
.post(`export/${camera}/start/${range.after}/end/${range.before}`, {
playback: "realtime",
name,
})
.post(
`export/${camera}/start/${Math.round(range.after)}/end/${Math.round(range.before)}`,
{
playback: "realtime",
name,
},
)
.then((response) => {
if (response.status == 200) {
toast.success(