diff --git a/app/routes/events-calendar.tsx b/app/routes/events-calendar.tsx index 3213e09..340c720 100644 --- a/app/routes/events-calendar.tsx +++ b/app/routes/events-calendar.tsx @@ -16,7 +16,7 @@ export async function loader({ context }: { context: RequestContext }) { }); if ( - [1 << 3, 1 << 4, 1 << 12].find( + ![1 << 3, 1 << 4, 1 << 12].find( (p) => context.data.current_user.permissions & p, ) )