Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

show relays as healthy if heartbeat is null

x032205bfbd1d1f914e
diff --git a/frontend/src/pages/organization/NetworkingPage/components/RelayTab/RelayTab.tsx b/frontend/src/pages/organization/NetworkingPage/components/RelayTab/RelayTab.tsx
index 46356a312a..e525b765db 100644
--- a/frontend/src/pages/organization/NetworkingPage/components/RelayTab/RelayTab.tsx
+++ b/frontend/src/pages/organization/NetworkingPage/components/RelayTab/RelayTab.tsx
@@ -47,7 +47,7 @@ const RelayHealthStatus = ({ heartbeat }: { heartbeat?: string }) => {
const now = new Date();
const oneHourAgo = new Date(now.getTime() - 60 * 60 * 1000);
- const isHealthy = heartbeatDate && heartbeatDate >= oneHourAgo;
+ const isHealthy = !heartbeatDate || heartbeatDate >= oneHourAgo;
const tooltipContent = heartbeatDate
? `Last heartbeat: ${heartbeatDate.toLocaleString()}`
: "No heartbeat data available";