The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix(studio): remove include data toggle if no pitr (#39533)
Andrew Valleteaub15b8f931e24
diff --git a/apps/studio/components/interfaces/BranchManagement/CreateBranchModal.tsx b/apps/studio/components/interfaces/BranchManagement/CreateBranchModal.tsxindex 93ce13e3f73..fc3397f00f2 100644--- a/apps/studio/components/interfaces/BranchManagement/CreateBranchModal.tsx+++ b/apps/studio/components/interfaces/BranchManagement/CreateBranchModal.tsx@@ -396,11 +396,9 @@ export const CreateBranchModal = () => {description="Clone production data into this branch"><FormControl_Shadcn_>- <Switch- disabled={!hasPitrEnabled}- checked={field.value}- onCheckedChange={field.onChange}- />+ {hasPitrEnabled && (+ <Switch checked={field.value} onCheckedChange={field.onChange} />+ )}</FormControl_Shadcn_></FormItemLayout>)}