mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-07 03:35:26 +03:00
Collapse ongoing when props are set
This commit is contained in:
parent
089d8bcab1
commit
be1677afd8
@ -94,7 +94,7 @@ export default function Events({ path, ...props }) {
|
||||
showDeleteFavorite: false,
|
||||
});
|
||||
|
||||
const [showInProgress, setShowInProgress] = useState(true);
|
||||
const [showInProgress, setShowInProgress] = useState((props.event || props.camera || props.label) == null);
|
||||
|
||||
const eventsFetcher = useCallback(
|
||||
(path, params) => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user