Skip to content

Commit 40f2252

Browse files
fix: sort Project, Position, and Role dropdowns alphabetically A to Z (case-insensitive)
1 parent 4fa6ce0 commit 40f2252

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎apps/codebility/middleware.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ export async function middleware(req: NextRequest) {
260260
}
261261

262262
if (!(rolePermissions as any)[requiredPermission as string]) {
263-
// return redirectTo(req, "/home");
263+
return redirectTo(req, "/home");
264264
}
265265
}
266266

0 commit comments

Comments
 (0)