forked from Github/frigate
Fix filter args (#13718)
* Fix filter args in events * Fix export arg * Don' t fail * Fix filter buttons * Fix right click * Formatting
This commit is contained in:
@@ -135,11 +135,13 @@ export function AnimatedEventCard({
|
||||
<div
|
||||
className="size-full cursor-pointer overflow-hidden rounded md:rounded-lg"
|
||||
onClick={onOpenReview}
|
||||
onAuxClick={() =>
|
||||
window
|
||||
.open(`${baseUrl}review?id=${event.id}`, "_blank")
|
||||
?.focus()
|
||||
}
|
||||
onAuxClick={(e) => {
|
||||
if (e.button === 1) {
|
||||
window
|
||||
.open(`${baseUrl}review?id=${event.id}`, "_blank")
|
||||
?.focus();
|
||||
}
|
||||
}}
|
||||
>
|
||||
{!alertVideos ? (
|
||||
<img
|
||||
|
||||
@@ -159,7 +159,7 @@ export default function ExportCard({
|
||||
className="cursor-pointer rounded-md bg-gray-500 bg-gradient-to-br from-gray-400 to-gray-500"
|
||||
onClick={() =>
|
||||
shareOrCopy(
|
||||
`${baseUrl}exports?id=${exportedRecording.id}`,
|
||||
`${baseUrl}export?id=${exportedRecording.id}`,
|
||||
exportedRecording.name.replaceAll("_", " "),
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user