Skip to content

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

fix: show replica as healthy if it is (#39587)

Alaister Young5e0b969a29fb
diff --git a/apps/studio/components/interfaces/Settings/Infrastructure/InfrastructureConfiguration/InstanceNode.tsx b/apps/studio/components/interfaces/Settings/Infrastructure/InfrastructureConfiguration/InstanceNode.tsx
index 98f1611f4c6..503291d1975 100644
--- a/apps/studio/components/interfaces/Settings/Infrastructure/InfrastructureConfiguration/InstanceNode.tsx
+++ b/apps/studio/components/interfaces/Settings/Infrastructure/InfrastructureConfiguration/InstanceNode.tsx
@@ -294,8 +294,7 @@ export const ReplicaNode = ({ data }: NodeProps<ReplicaNodeData>) => {
<Badge>Restarting</Badge>
) : status === REPLICA_STATUS.RESIZING ? (
<Badge>Resizing</Badge>
- ) : initStatus === ReplicaInitializationStatus.Completed &&
- status === REPLICA_STATUS.ACTIVE_HEALTHY ? (
+ ) : status === REPLICA_STATUS.ACTIVE_HEALTHY ? (
<Badge variant="brand">Healthy</Badge>
) : (
<Badge variant="warning">Unhealthy</Badge>