Skip to content

Commit 48c9fb7

Browse files
committed
Update event ongoing check for events without end time
1 parent 7f9dbc9 commit 48c9fb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pages/events.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export default function Events(props: Props & { location: string }) {
7474
return start && start.getTime() <= now &&
7575
(
7676
(end && end.getTime() >= now) ||
77-
(!end && e.reminder == "daily")
77+
(!end && (e.type != "Unlock" && e.type != "Stream"))
7878
)
7979
}).sort((a, b) => {
8080
const endA = getEndTime(a, serverTimezone)

0 commit comments

Comments
 (0)