mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
Fix plus menu not showing (#5606)
* Set end time for download event * Set the value
This commit is contained in:
parent
7ed715b371
commit
c4ebafe777
@ -66,6 +66,7 @@ export default function Events({ path, ...props }) {
|
|||||||
has_clip: false,
|
has_clip: false,
|
||||||
has_snapshot: false,
|
has_snapshot: false,
|
||||||
plus_id: undefined,
|
plus_id: undefined,
|
||||||
|
end_time: null,
|
||||||
});
|
});
|
||||||
const [deleteFavoriteState, setDeleteFavoriteState] = useState({
|
const [deleteFavoriteState, setDeleteFavoriteState] = useState({
|
||||||
deletingFavoriteEventId: null,
|
deletingFavoriteEventId: null,
|
||||||
@ -190,6 +191,7 @@ export default function Events({ path, ...props }) {
|
|||||||
has_clip: event.has_clip,
|
has_clip: event.has_clip,
|
||||||
has_snapshot: event.has_snapshot,
|
has_snapshot: event.has_snapshot,
|
||||||
plus_id: event.plus_id,
|
plus_id: event.plus_id,
|
||||||
|
end_time: event.end_time,
|
||||||
}));
|
}));
|
||||||
downloadButton.current = e.target;
|
downloadButton.current = e.target;
|
||||||
setState({ ...state, showDownloadMenu: true });
|
setState({ ...state, showDownloadMenu: true });
|
||||||
|
Loading…
Reference in New Issue
Block a user