* Add icons for frigate+ items

* Fix bug where export didn't start

* Fix mobile overflow

* Capitalize first letter function
This commit is contained in:
Nicolas Mowen
2024-05-06 15:18:13 -06:00
committed by GitHub
parent c0073db859
commit e5e18a5026
4 changed files with 47 additions and 3 deletions

View File

@@ -121,6 +121,14 @@ export default function ExportDialog({
className="flex items-center gap-2"
size="sm"
onClick={() => {
const now = new Date(latestTime * 1000);
let start = 0;
now.setHours(now.getHours() - 1);
start = now.getTime() / 1000;
setRange({
before: latestTime,
after: start,
});
setMode("select");
}}
>