mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-09 04:35:25 +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 (
|
return (
|
||||||
<ContextMenuContent>
|
<ContextMenuContent>
|
||||||
|
{!review.has_been_reviewed && (
|
||||||
<ContextMenuItem onSelect={() => (setReviewed ? setReviewed() : null)}>
|
<ContextMenuItem onSelect={() => (setReviewed ? setReviewed() : null)}>
|
||||||
<div className="w-full flex justify-between items-center">
|
<div className="w-full flex justify-between items-center">
|
||||||
Mark As Reviewed
|
Mark As Reviewed
|
||||||
<LuCheckSquare className="ml-4 w-4 h-4" />
|
<LuCheckSquare className="ml-4 w-4 h-4" />
|
||||||
</div>
|
</div>
|
||||||
</ContextMenuItem>
|
</ContextMenuItem>
|
||||||
|
)}
|
||||||
<ContextMenuItem onSelect={() => exportReview()}>
|
<ContextMenuItem onSelect={() => exportReview()}>
|
||||||
<div className="w-full flex justify-between items-center">
|
<div className="w-full flex justify-between items-center">
|
||||||
Export
|
Export
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user