mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-08 20:25:26 +03:00
Only show mark as reviewed when it has not been reviewed
This commit is contained in:
parent
6311fdb682
commit
30d456dbd2
@ -380,12 +380,14 @@ function PreviewContextItems({
|
||||
|
||||
return (
|
||||
<ContextMenuContent>
|
||||
{!review.has_been_reviewed && (
|
||||
<ContextMenuItem onSelect={() => (setReviewed ? setReviewed() : null)}>
|
||||
<div className="w-full flex justify-between items-center">
|
||||
Mark As Reviewed
|
||||
<LuCheckSquare className="ml-4 w-4 h-4" />
|
||||
</div>
|
||||
</ContextMenuItem>
|
||||
)}
|
||||
<ContextMenuItem onSelect={() => exportReview()}>
|
||||
<div className="w-full flex justify-between items-center">
|
||||
Export
|
||||
|
||||
Loading…
Reference in New Issue
Block a user