The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Make orgbilling link default and retitle CTA
Pamela Chia1baa76aca07c
diff --git a/studio/components/layouts/ProjectLayout/ProjectPausedState.tsx b/studio/components/layouts/ProjectLayout/ProjectPausedState.tsxindex 2184fae4048..8f56ef4002a 100644--- a/studio/components/layouts/ProjectLayout/ProjectPausedState.tsx+++ b/studio/components/layouts/ProjectLayout/ProjectPausedState.tsx@@ -28,6 +28,7 @@ const ProjectPausedState = ({ product }: ProjectPausedStateProps) => {const orgSlug = selectedOrganization?.slugconst { data: subscription } = useProjectSubscriptionV2Query({ projectRef: ref })const isFreePlan = subscription?.plan?.id === 'free'+ const billedViaOrg = Boolean(selectedOrganization?.subscription_id)const { data: membersExceededLimit } = useFreeProjectLimitCheckQuery({ slug: orgSlug })const hasMembersExceedingFreeTierLimit = (membersExceededLimit || []).length > 0@@ -138,10 +139,14 @@ const ProjectPausedState = ({ product }: ProjectPausedStateProps) => {</Tooltip.Root>{isFreePlan ? (<Link- href={`/project/${ref}/settings/billing/subscription?panel=subscriptionPlan`}+ href={+ billedViaOrg+ ? `/org/${orgSlug}/billing?panel=subscriptionPlan`+ : `/project/${ref}/settings/billing/subscription?panel=subscriptionPlan`+ }><a>- <Button type="default">Change Plan</Button>+ <Button type="default">Upgrade to Pro</Button></a></Link>) : (