mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-03 09:45:22 +03:00
changed color to white, added top padding in disabled camera info
This commit is contained in:
parent
cb88ff134c
commit
d05266f8f4
@ -49,7 +49,7 @@ export default function CameraImage({ camera, onload, searchParams = '', stretch
|
|||||||
{
|
{
|
||||||
(enabled) ?
|
(enabled) ?
|
||||||
<canvas data-testid="cameraimage-canvas" height={scaledHeight} ref={canvasRef} width={scaledWidth} />
|
<canvas data-testid="cameraimage-canvas" height={scaledHeight} ref={canvasRef} width={scaledWidth} />
|
||||||
: <div class="text-center text-green-500">Camera is disabled in config, no stream or snapshot available!</div>
|
: <div class="text-center pt-6">Camera is disabled in config, no stream or snapshot available!</div>
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
(!hasLoaded && enabled) ? (
|
(!hasLoaded && enabled) ? (
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user