mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-11 13:45:25 +03:00
Don't show mark reviewed button when all items are in progress
This commit is contained in:
parent
37dd3fc25b
commit
45726ad239
@ -588,7 +588,7 @@ function DetectionReview({
|
|||||||
<Skeleton key={idx} className="aspect-video size-full" />
|
<Skeleton key={idx} className="aspect-video size-full" />
|
||||||
))}
|
))}
|
||||||
{!loading &&
|
{!loading &&
|
||||||
(currentItems?.length ?? 0) > 0 &&
|
(currentItems?.filter((seg) => seg.end_time)?.length ?? 0) > 0 &&
|
||||||
(itemsToReview ?? 0) > 0 && (
|
(itemsToReview ?? 0) > 0 && (
|
||||||
<div className="col-span-full flex items-center justify-center">
|
<div className="col-span-full flex items-center justify-center">
|
||||||
<Button
|
<Button
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user