Skip to content

Commit

Permalink
Format camera name
Browse files Browse the repository at this point in the history
  • Loading branch information
NickM-27 committed Jun 13, 2024
1 parent cb7387c commit 98d671e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/src/components/player/PreviewPlayer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ function PreviewVideoPlayer({
</video>
{cameraPreviews && !currentPreview && (
<div className="absolute inset-0 flex items-center justify-center rounded-lg bg-background_alt text-primary md:rounded-2xl">
No Preview Found for {camera}
No Preview Found for {camera.replaceAll("_", " ")}
</div>
)}
{firstLoad && <Skeleton className="absolute aspect-video size-full" />}
Expand Down Expand Up @@ -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 for {camera}
No Preview Found for {camera.replaceAll("_", " ")}
</div>
)}
{firstLoad && <Skeleton className="absolute aspect-video size-full" />}
Expand Down

0 comments on commit 98d671e

Please sign in to comment.