The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
feat(studio): enable functions counter on Home for self-hosted environments (#42992)
Luiz Felipe Machado6d1a064a3951
diff --git a/apps/studio/components/interfaces/Home/Home.tsx b/apps/studio/components/interfaces/Home/Home.tsxindex 8560ca79a4c..45d54e0fdae 100644--- a/apps/studio/components/interfaces/Home/Home.tsx+++ b/apps/studio/components/interfaces/Home/Home.tsx@@ -167,21 +167,19 @@ export const Home = () => {)}</div>- {IS_PLATFORM && (- <div className="flex flex-col gap-y-1">- <Link- href={`/project/${ref}/functions`}- className="transition text-foreground-light hover:text-foreground text-sm"- >- Functions- </Link>- {isLoadingFunctions ? (- <ShimmeringLoader className="w-full h-[32px] w-6 p-0" />- ) : (- <p className="text-2xl tabular-nums">{functionsCount}</p>- )}- </div>- )}+ <div className="flex flex-col gap-y-1">+ <Link+ href={`/project/${ref}/functions`}+ className="transition text-foreground-light hover:text-foreground text-sm"+ >+ Functions+ </Link>+ {isLoadingFunctions ? (+ <ShimmeringLoader className="w-full h-[32px] w-6 p-0" />+ ) : (+ <p className="text-2xl tabular-nums">{functionsCount}</p>+ )}+ </div>{IS_PLATFORM && (<div className="flex flex-col gap-y-1">