Skip to content

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

service status: hide info footer if all services OK (#32966)

Jordi Enricee9931afd3dc
diff --git a/apps/studio/components/interfaces/Home/ServiceStatus.tsx b/apps/studio/components/interfaces/Home/ServiceStatus.tsx
index 17fb05d780e..2c189366dfd 100644
--- a/apps/studio/components/interfaces/Home/ServiceStatus.tsx
+++ b/apps/studio/components/interfaces/Home/ServiceStatus.tsx
@@ -291,13 +291,17 @@ const ServiceStatus = () => {
</div>
</Link>
))}
- <PopoverSeparator />
- <div className="flex gap-2 text-xs text-foreground-light px-3 py-2">
- <div className="mt-0.5">
- <InfoIcon />
- </div>
- Recently restored projects can take up to 5 minutes to become fully operational.
- </div>
+ {allServicesOperational ? null : (
+ <>
+ <PopoverSeparator />
+ <div className="flex gap-2 text-xs text-foreground-light px-3 py-2">
+ <div className="mt-0.5">
+ <InfoIcon />
+ </div>
+ Recently restored projects can take up to 5 minutes to become fully operational.
+ </div>
+ </>
+ )}
</PopoverContent_Shadcn_>
</Popover_Shadcn_>
)