Skip to content

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

Fix project card status not showing (#19034)

Joshen Lim96b0ffd3873f
diff --git a/apps/studio/components/interfaces/Home/ProjectList/ProjectCardStatus.tsx b/apps/studio/components/interfaces/Home/ProjectList/ProjectCardStatus.tsx
index 0e567e40380..cff9a6adee2 100644
--- a/apps/studio/components/interfaces/Home/ProjectList/ProjectCardStatus.tsx
+++ b/apps/studio/components/interfaces/Home/ProjectList/ProjectCardStatus.tsx
@@ -77,8 +77,8 @@ export const ProjectCardStatus = ({
: 'warning'
if (
- (activeWarnings.length === 0 && projectStatus === 'isHealthy') ||
- warningContent === undefined
+ (activeWarnings.length === 0 || warningContent === undefined) &&
+ projectStatus === 'isHealthy'
) {
return null
}
@@ -112,7 +112,7 @@ export const ProjectCardStatus = ({
<div
className={[
'rounded bg-alternative py-1 px-2 leading-none shadow',
- 'border border-background',
+ 'border bg-background',
].join(' ')}
>
<span className="text-xs text-foreground">{alertDescription}</span>