From 171f9fd8e175961aef4b731e213ed0bc86b27cff Mon Sep 17 00:00:00 2001 From: Brandon Smith Date: Tue, 2 Apr 2024 17:41:23 -0500 Subject: [PATCH] Fix for the fix... --- front-end/src/components/Events.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/front-end/src/components/Events.tsx b/front-end/src/components/Events.tsx index d80676a..d42c52d 100644 --- a/front-end/src/components/Events.tsx +++ b/front-end/src/components/Events.tsx @@ -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') {