mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-02-18 00:16:41 +01:00
UI fixes (#16406)
* Fix new review item banner blocking third chip * Fix custom export mode
This commit is contained in:
parent
973d3aed9a
commit
a42ad7ead9
@ -28,13 +28,13 @@ export default function NewReviewData({
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div className={className}>
|
<div className={className}>
|
||||||
<div className="pointer-events-auto mr-[65px] flex items-center justify-center md:mr-[115px]">
|
<div className="pointer-events-auto mr-[65px] mt-8 flex items-center justify-center md:mr-[115px]">
|
||||||
<Button
|
<Button
|
||||||
className={cn(
|
className={cn(
|
||||||
hasUpdate
|
hasUpdate
|
||||||
? "duration-500 animate-in slide-in-from-top"
|
? "duration-500 animate-in slide-in-from-top"
|
||||||
: "invisible",
|
: "invisible",
|
||||||
"mx-auto mt-5 bg-gray-400 text-center text-white",
|
"mx-auto bg-gray-400 text-center text-white",
|
||||||
)}
|
)}
|
||||||
aria-label="View new review items"
|
aria-label="View new review items"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
|
@ -235,6 +235,9 @@ export function ExportContent({
|
|||||||
now.setHours(now.getHours() - 24);
|
now.setHours(now.getHours() - 24);
|
||||||
start = now.getTime() / 1000;
|
start = now.getTime() / 1000;
|
||||||
break;
|
break;
|
||||||
|
case "custom":
|
||||||
|
start = latestTime - 3600;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
setRange({
|
setRange({
|
||||||
|
Loading…
Reference in New Issue
Block a user