Skip to content

Commit

Permalink
Fix for the fix...
Browse files Browse the repository at this point in the history
  • Loading branch information
brundonsmith committed Apr 2, 2024
1 parent f196290 commit 171f9fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion front-end/src/components/Events.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class EventsScreenState {

get visibleEvents() {
if (this.filter === 'All') {
return Store.allEvents.state.result?.filter(e => e.start_datetime.subtract(1, 'day').isAfter(dayjs()))
return Store.allEvents.state.result?.filter(e => e.start_datetime.isAfter(dayjs().subtract(1, 'day')))
} else if (this.filter === 'Bookmarked') {
return this.bookmarkedEvents
} else if (this.filter === 'Mine') {
Expand Down

0 comments on commit 171f9fd

Please sign in to comment.