Skip to content

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

fix: remove incorrect usage of restoring state for restarts (#29883)

divite1c871322135
diff --git a/apps/studio/components/interfaces/Settings/Infrastructure/InfrastructureConfiguration/InstanceNode.tsx b/apps/studio/components/interfaces/Settings/Infrastructure/InfrastructureConfiguration/InstanceNode.tsx
index ae014b55630..568166cc00d 100644
--- a/apps/studio/components/interfaces/Settings/Infrastructure/InfrastructureConfiguration/InstanceNode.tsx
+++ b/apps/studio/components/interfaces/Settings/Infrastructure/InfrastructureConfiguration/InstanceNode.tsx
@@ -266,8 +266,6 @@ export const ReplicaNode = ({ data }: NodeProps<ReplicaNodeData>) => {
</>
) : status === REPLICA_STATUS.GOING_DOWN ? (
<Badge>Going down</Badge>
- ) : status === REPLICA_STATUS.RESTORING ? (
- <Badge>Restarting</Badge>
) : status === REPLICA_STATUS.RESTARTING ? (
<Badge>Restarting</Badge>
) : status === REPLICA_STATUS.RESIZING ? (
diff --git a/apps/studio/components/interfaces/Settings/Infrastructure/InfrastructureConfiguration/MapView.tsx b/apps/studio/components/interfaces/Settings/Infrastructure/InfrastructureConfiguration/MapView.tsx
index ca3285d6665..a7ddcaaa19b 100644
--- a/apps/studio/components/interfaces/Settings/Infrastructure/InfrastructureConfiguration/MapView.tsx
+++ b/apps/studio/components/interfaces/Settings/Infrastructure/InfrastructureConfiguration/MapView.tsx
@@ -271,8 +271,6 @@ const MapView = ({
<Badge variant="brand">Healthy</Badge>
) : database.status === REPLICA_STATUS.COMING_UP ? (
<Badge>Coming up</Badge>
- ) : database.status === REPLICA_STATUS.RESTORING ? (
- <Badge>Restarting</Badge>
) : database.status === REPLICA_STATUS.RESTARTING ? (
<Badge>Restarting</Badge>
) : database.status === REPLICA_STATUS.RESIZING ? (