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
@@ -4,6 +4,7 @@ import { useEffect } from "react";
|
||||
import { usePathname, useRouter } from "next/navigation";
|
||||
import { useAdminAuth } from "@/app/lib/AdminAuthContext";
|
||||
import { isPublicPath } from "@/app/lib/routeGuard";
|
||||
import { CompanyScopeProvider } from "@/app/lib/CompanyScope";
|
||||
import Header from "./Header";
|
||||
import Sidebar from "./Sidebar";
|
||||
import PoweredBy from "./PoweredBy";
|
||||
@@ -45,6 +46,7 @@ export default function AppShell({ children }: { children: React.ReactNode }) {
|
||||
}
|
||||
|
||||
return (
|
||||
<CompanyScopeProvider>
|
||||
<div className="flex min-h-svh bg-background">
|
||||
<SessionKeepAlive />
|
||||
<Sidebar />
|
||||
@@ -63,5 +65,6 @@ export default function AppShell({ children }: { children: React.ReactNode }) {
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</CompanyScopeProvider>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user