Skip to content

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

fix: branch query enabling condition (#25914)

Alaister Youngfa2fed63ae9e
diff --git a/apps/studio/components/interfaces/BranchManagement/BranchPanels.tsx b/apps/studio/components/interfaces/BranchManagement/BranchPanels.tsx
index d86d2c81888..eb074b2d6a3 100644
--- a/apps/studio/components/interfaces/BranchManagement/BranchPanels.tsx
+++ b/apps/studio/components/interfaces/BranchManagement/BranchPanels.tsx
@@ -107,7 +107,7 @@ export const BranchRow = ({
const { data } = useBranchQuery(
{ projectRef, id: branch.id },
{
- enabled: branch.status === 'CREATING_PROJECT' && inView,
+ enabled: inView,
refetchInterval(data) {
if (data?.status !== 'ACTIVE_HEALTHY') {
return 1000 * 3 // 3 seconds