update onboarding colors and add image upload

This commit is contained in:
Ra
2025-08-20 11:20:28 -07:00
parent 875280cdac
commit 9332a48542
12 changed files with 2078 additions and 426 deletions

View File

@@ -46,12 +46,8 @@ const RequireOnboarding: React.FC<{ children: React.ReactNode }> = ({ children }
if (!org) return <div className="p-8">Loading organization...</div>;
// Get the user's relationship to this organization
const userOrgRelation = organizations.find(o => o.orgId === selectedOrgId);
const isOrgOwner = userOrgRelation?.role === 'owner';
// SINGLE SOURCE OF TRUTH: Organization onboarding completion is the authoritative source
// User organization records are updated to reflect this, but org.onboardingCompleted is primary
const onboardingCompleted = org.onboardingCompleted === true;
console.log('RequireOnboarding check:', {