mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-09 04:35:25 +03:00
set onclick
This commit is contained in:
parent
cf1ecfc7a3
commit
214710ea3e
@ -232,6 +232,7 @@ export default function DynamicVideoPlayer({
|
|||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
className={`relative ${className ?? ""} ${onClick ? (hasRecordingAtTime ? "cursor-pointer" : "") : ""}`}
|
className={`relative ${className ?? ""} ${onClick ? (hasRecordingAtTime ? "cursor-pointer" : "") : ""}`}
|
||||||
|
onClick={onClick}
|
||||||
>
|
>
|
||||||
{!previewOnly && (
|
{!previewOnly && (
|
||||||
<div
|
<div
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user