mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
Activity indicator whenever preferred live mode changes (#11913)
This commit is contained in:
parent
e3c8901549
commit
c75fc40833
@ -121,6 +121,10 @@ export default function LivePlayer({
|
||||
windowVisible,
|
||||
]);
|
||||
|
||||
useEffect(() => {
|
||||
setLiveReady(false);
|
||||
}, [preferredLiveMode]);
|
||||
|
||||
if (!cameraConfig) {
|
||||
return <ActivityIndicator />;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user