The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix: header and description issue with ConfirmModal
Jonathan Summers-Muir4e6c5c06e6c7
diff --git a/studio/components/to-be-cleaned/ModalsDeprecated/ConfirmModal.js b/studio/components/to-be-cleaned/ModalsDeprecated/ConfirmModal.jsindex 37a908a55d5..b7a041346a9 100644--- a/studio/components/to-be-cleaned/ModalsDeprecated/ConfirmModal.js+++ b/studio/components/to-be-cleaned/ModalsDeprecated/ConfirmModal.js@@ -33,13 +33,20 @@ function ConfirmModal({return (<Modal+ header={title}variant={variant}visible={true}size="small"onCancel={onCancelClick}onConfirm={onConfirmClick}loading={loading}- />+ >+ {description && (+ <Modal.Content>+ <p className="text-sm text-scale-1100 py-4">{description}</p>+ </Modal.Content>+ )}+ </Modal>)}diff --git a/studio/pages/new/[slug].tsx b/studio/pages/new/[slug].tsxindex 651ceebbf81..ec52ae957c3 100644--- a/studio/pages/new/[slug].tsx+++ b/studio/pages/new/[slug].tsx@@ -83,15 +83,15 @@ export const Wizard = observer(() => {const isEmptyPaymentMethod = stripeCustomer? stripeCustomer.paymentMethods?.data?.length <= 0: undefined- const isOverFreeProjectLimit = totalFreeProjects >= freeProjectsLimit+ const isOverFreeProjectLimit = false //totalFreeProjects >= freeProjectsLimitconst isInvalidSlug = isUndefined(currentOrg)const isSelectFreeTier = dbPricingPlan === PRICING_PLANS.FREE- const canCreateProject =- currentOrg?.is_owner &&- !subscriptionStats.isError &&- !subscriptionStats.isLoading &&- (!isSelectFreeTier || (isSelectFreeTier && !isOverFreeProjectLimit))+ const canCreateProject = true+ // currentOrg?.is_owner &&+ // !subscriptionStats.isError &&+ // !subscriptionStats.isLoading &&+ // (!isSelectFreeTier || (isSelectFreeTier && !isOverFreeProjectLimit))const canSubmit =projectName != '' &&