feat(portal): company picker, Company column, company fields and super-admin-only screens
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
This commit is contained in:
1 parent
57e187a992
commit
c8ffc6aede
43 files changed
+1189
-74
No files matched your search
@@ -19,6 +19,8 @@ export async function GET(req: NextRequest) {
|
||||
if (enabled !== "true" && enabled !== "false") return badRequest("enabled must be true or false.");
|
||||
qs.set("enabled", enabled);
|
||||
}
|
||||
const companyId = params.get("companyId");
|
||||
if (companyId && /^\d+$/.test(companyId)) qs.set("companyId", companyId);
|
||||
qs.set("page", params.get("page") ?? "0");
|
||||
qs.set("size", params.get("size") ?? "20");
|
||||
const sortBy = params.get("sortBy");
|
||||
|
||||
Reference in new issue
Block a user