diff --git a/apps/studio/components/interfaces/ProjectHome/ServiceStatus.tsx b/apps/studio/components/interfaces/ProjectHome/ServiceStatus.tsx
index 570778754e2..660c86bd110 100644
--- a/apps/studio/components/interfaces/ProjectHome/ServiceStatus.tsx
+++ b/apps/studio/components/interfaces/ProjectHome/ServiceStatus.tsx
@@ -1,6 +1,6 @@
import { useParams } from 'common'
import dayjs from 'dayjs'
-import { AlertTriangle, CheckCircle2, ChevronRight, Loader2 } from 'lucide-react'
+import { AlertTriangle, CheckCircle2, ChevronRight, Loader2, MinusCircle } from 'lucide-react'
import Link from 'next/link'
import { cn, HoverCard, HoverCardContent, HoverCardTrigger, InfoIcon } from 'ui'
@@ -21,6 +21,9 @@ import { DOCS_URL } from '@/lib/constants'
const SERVICE_STATUS_THRESHOLD = 5 // minutes
+const SERVICE_ROW_CLASS =
+ 'px-3 py-2 text-xs flex items-center justify-between border-b last:border-none'
+
const iconProps = {
size: 18,
strokeWidth: 1.5,
@@ -28,6 +31,7 @@ const iconProps = {
const LoaderIcon = () =>
const AlertIcon = () =>
const CheckIcon = () =>
+const DisabledIcon = () =>
export const StatusIcon = ({
isLoading,
@@ -40,7 +44,7 @@ export const StatusIcon = ({
}) => {
//
if (projectStatus === 'ACTIVE_HEALTHY') return
- if (projectStatus === 'DISABLED') return
+ if (projectStatus === 'DISABLED') return
if (projectStatus === 'COMING_UP') return
if (isLoading) return
// isProjectNew has to be above UNHEALTHY because in the first few minutes, some services might be starting up and show as UNHEALTHY
@@ -341,12 +345,8 @@ export const ServiceStatus = () => {
/>
- {services.map((service) => (
-
+ {services.map((service) => {
+ const serviceInfo = (
{
-
- View logs
-
-
-
- ))}
+ )
+
+ // Disabled services have no logs to link out to
+ if (service.status === 'DISABLED') {
+ return (
+
+ {serviceInfo}
+
+ )
+ }
+
+ return (
+
+ {serviceInfo}
+
+ View logs
+
+
+
+ )
+ })}
{!allServicesOperational && (