Skip to content

Commit

Permalink
Fix plus menu not showing (blakeblackshear#5606)
Browse files Browse the repository at this point in the history
* Set end time for download event

* Set the value
  • Loading branch information
NickM-27 committed Mar 3, 2023
1 parent 7ed715b commit c4ebafe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions web/src/routes/Events.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ export default function Events({ path, ...props }) {
has_clip: false,
has_snapshot: false,
plus_id: undefined,
end_time: null,
});
const [deleteFavoriteState, setDeleteFavoriteState] = useState({
deletingFavoriteEventId: null,
Expand Down Expand Up @@ -190,6 +191,7 @@ export default function Events({ path, ...props }) {
has_clip: event.has_clip,
has_snapshot: event.has_snapshot,
plus_id: event.plus_id,
end_time: event.end_time,
}));
downloadButton.current = e.target;
setState({ ...state, showDownloadMenu: true });
Expand Down

0 comments on commit c4ebafe

Please sign in to comment.