Skip to content
2 changes: 1 addition & 1 deletion web/src/lib/org-context.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export function OrgProvider({
me,
}: { children: React.ReactNode; me: MeData | undefined }) {
const [effectiveOrgId, setEffectiveOrgId] = useState<string | null>(null);
const isAdmin = me?.role === 'admin';
const isAdmin = me?.role === 'admin' || me?.role === 'superadmin';
const initialized = useRef(false);

// Initialize from me data + localStorage
Expand Down