diff --git a/web/src/routes/Events.jsx b/web/src/routes/Events.jsx index ffc35dc3e..d536468c7 100644 --- a/web/src/routes/Events.jsx +++ b/web/src/routes/Events.jsx @@ -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) => {