mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-07-26 13:47:03 +02:00
Fix default loading state
This commit is contained in:
parent
e9b3ed5832
commit
36cabccf07
@ -147,7 +147,7 @@ export function useCameraActivity(
|
||||
return cameras[camera.name].camera_fps == 0 && stats["service"].uptime > 60;
|
||||
}, [camera, stats]);
|
||||
|
||||
const isCameraEnabled = cameraEnabled ? cameraEnabled === "ON" : undefined;
|
||||
const isCameraEnabled = cameraEnabled ? cameraEnabled === "ON" : true;
|
||||
|
||||
return {
|
||||
enabled: isCameraEnabled,
|
||||
|
Loading…
Reference in New Issue
Block a user