Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

remove optional label if gitless branching feature flag disabled (#36264)

Saxon Fletcher4c1349f493ac
diff --git a/apps/studio/components/interfaces/BranchManagement/CreateBranchModal.tsx b/apps/studio/components/interfaces/BranchManagement/CreateBranchModal.tsx
index fd981309aa0..fed8da19382 100644
--- a/apps/studio/components/interfaces/BranchManagement/CreateBranchModal.tsx
+++ b/apps/studio/components/interfaces/BranchManagement/CreateBranchModal.tsx
@@ -201,7 +201,7 @@ export const CreateBranchModal = ({ visible, onClose }: CreateBranchModalProps)
render={({ field }) => (
<FormItem_Shadcn_>
<div className="flex items-center justify-between mb-2">
- <Label>Link to Git Branch (Optional)</Label>
+ <Label>Link to Git Branch {gitlessBranching ? '(Optional)' : ''}</Label>
<div className="flex items-center gap-2 text-sm">
<Image
className={cn('dark:invert')}