mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-10 21:25:24 +03:00
Fix key error
This commit is contained in:
parent
9fe709c00f
commit
d38d6a1d1d
@ -591,7 +591,9 @@ function DetectionReview({
|
|||||||
})
|
})
|
||||||
: Array(itemsToReview)
|
: Array(itemsToReview)
|
||||||
.fill(0)
|
.fill(0)
|
||||||
.map(() => <Skeleton className="size-full aspect-video" />)}
|
.map((_, idx) => (
|
||||||
|
<Skeleton key={idx} className="size-full aspect-video" />
|
||||||
|
))}
|
||||||
{!loading &&
|
{!loading &&
|
||||||
(currentItems?.length ?? 0) > 0 &&
|
(currentItems?.length ?? 0) > 0 &&
|
||||||
(itemsToReview ?? 0) > 0 && (
|
(itemsToReview ?? 0) > 0 && (
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user