mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-08-26 13:22:50 -05:00
Fix hidden tournaments showing up on tournament organizer calendar
This commit is contained in:
@@ -208,6 +208,7 @@ const findEventsBaseQuery = (organizationId: number) =>
|
||||
).as("eventWinners"),
|
||||
])
|
||||
.where("CalendarEvent.organizationId", "=", organizationId)
|
||||
.where("CalendarEvent.hidden", "=", 0)
|
||||
.groupBy("CalendarEvent.id");
|
||||
|
||||
const mapEvent = <
|
||||
|
||||
Reference in New Issue
Block a user