diff --git a/apps/studio/components/layouts/AppLayout/BranchDropdown.tsx b/apps/studio/components/layouts/AppLayout/BranchDropdown.tsx
index 16ee7b41755..2021f3df781 100644
--- a/apps/studio/components/layouts/AppLayout/BranchDropdown.tsx
+++ b/apps/studio/components/layouts/AppLayout/BranchDropdown.tsx
@@ -210,16 +210,20 @@ export const BranchDropdown = () => {
)}
- {isSuccess && isBranchingEnabled && branches.length > 0 && (
+ {isSuccess && (
<>
- {selectedBranch?.name}
+ {isBranchingEnabled ? selectedBranch?.name : 'main'}
- {selectedBranch?.is_default ? (
- Production
+ {isBranchingEnabled ? (
+ selectedBranch?.is_default ? (
+ Production
+ ) : (
+ Preview Branch
+ )
) : (
- Preview Branch
+ Production
)}
@@ -232,24 +236,14 @@ export const BranchDropdown = () => {
/>
-
+
>
)}
-
- {isSuccess && !isBranchingEnabled && (
-
-
- }>
- Branching
-
-
-
-
-
-
- )}
>
)
}