The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix: skip free project limit when unpausing on paid plan (#19593)
Kevin Grüneberg928bc565969d
diff --git a/apps/studio/components/layouts/ProjectLayout/ProjectPausedState.tsx b/apps/studio/components/layouts/ProjectLayout/ProjectPausedState.tsxindex 54e7a695813..98d114a2c1d 100644--- a/apps/studio/components/layouts/ProjectLayout/ProjectPausedState.tsx+++ b/apps/studio/components/layouts/ProjectLayout/ProjectPausedState.tsx@@ -30,7 +30,10 @@ const ProjectPausedState = ({ product }: ProjectPausedStateProps) => {const isFreePlan = subscription?.plan?.id === 'free'- const { data: membersExceededLimit } = useFreeProjectLimitCheckQuery({ slug: orgSlug })+ const { data: membersExceededLimit } = useFreeProjectLimitCheckQuery(+ { slug: orgSlug },+ { enabled: isFreePlan }+ )const hasMembersExceedingFreeTierLimit = (membersExceededLimit || []).length > 0const [showConfirmRestore, setShowConfirmRestore] = useState(false)