Skip to content

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

Improve empty state for projects list in org billing page

Joshen Lim3cb5ddec0e08
diff --git a/studio/components/interfaces/Organization/BillingSettings/ProjectsSummary.tsx b/studio/components/interfaces/Organization/BillingSettings/ProjectsSummary.tsx
index 1d2c2682435..c2160a844d3 100644
--- a/studio/components/interfaces/Organization/BillingSettings/ProjectsSummary.tsx
+++ b/studio/components/interfaces/Organization/BillingSettings/ProjectsSummary.tsx
@@ -108,6 +108,11 @@ const ProjectsSummary: FC<ProjectsSummaryProps> = ({ projects }) => {
{projects.map((project: any) => (
<ProjectSummary key={project.ref} project={project} />
))}
+ {projects.length === 0 && (
+ <Panel.Content>
+ <p className="text-sm text-scale-1100">No projects created yet</p>
+ </Panel.Content>
+ )}
</Panel>
</div>
)