Make it clear which camera has no preview

This commit is contained in:
Nicolas Mowen 2024-06-13 16:18:35 -06:00
parent e5ce1dca41
commit 701c412ff8

View File

@ -536,7 +536,7 @@ function PreviewFramesPlayer({
/>
{previewFrames?.length === 0 && (
<div className="-y-translate-1/2 align-center absolute inset-x-0 top-1/2 rounded-lg bg-background_alt text-center text-primary md:rounded-2xl">
No Preview Found
No Preview Found for {camera}
</div>
)}
{firstLoad && <Skeleton className="absolute aspect-video size-full" />}