mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-08-07 03:11:15 +03:00
Disabled camera output (#16920)
* Fix live cameras not showing on refresh * Fix live dashboard when birdseye is added * Handle cameras that are offline / disabled * Use black instead of green frame * Fix missing mqtt topics
This commit is contained in:
@@ -200,7 +200,7 @@ export default function LivePlayer({
|
||||
// enabled states
|
||||
|
||||
const [isReEnabling, setIsReEnabling] = useState(false);
|
||||
const prevCameraEnabledRef = useRef(cameraEnabled);
|
||||
const prevCameraEnabledRef = useRef(cameraEnabled ?? true);
|
||||
|
||||
useEffect(() => {
|
||||
if (!prevCameraEnabledRef.current && cameraEnabled) {
|
||||
|
||||
Reference in New Issue
Block a user