The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix: hide missing billing info banner for partner-managed orgs (#38580)
Kevin Grüneberg1a41febacc00
diff --git a/apps/studio/hooks/misc/useOrganizationRestrictions.ts b/apps/studio/hooks/misc/useOrganizationRestrictions.tsindex 594bc8fcbae..4a1cdf82e06 100644--- a/apps/studio/hooks/misc/useOrganizationRestrictions.ts+++ b/apps/studio/hooks/misc/useOrganizationRestrictions.ts@@ -30,7 +30,13 @@ export function useOrganizationRestrictions() {(invoice) => invoice.organization_id === org?.id)- if (org && org.plan.id !== 'free' && billingCustomer && !billingCustomer.address?.line1) {+ if (+ org &&+ org.plan.id !== 'free' &&+ billingCustomer &&+ !billingCustomer.address?.line1 &&+ !org.billing_partner+ ) {warnings.push({type: 'warning',title: RESTRICTION_MESSAGES.MISSING_BILLING_INFO.title,