The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix(dashboard): enumerated types window showing other types such as composite (#20576)
Nabhag Motivaraseaf38b38c89c
diff --git a/apps/studio/data/enumerated-types/enumerated-types-query.ts b/apps/studio/data/enumerated-types/enumerated-types-query.tsindex 17cb8668784..49216bec929 100644--- a/apps/studio/data/enumerated-types/enumerated-types-query.ts+++ b/apps/studio/data/enumerated-types/enumerated-types-query.ts@@ -33,7 +33,8 @@ export async function getEnumeratedTypes(})if (error) throw error- return data+ const enumeratedTypes = data.filter((type) => type.enums.length > 0)+ return enumeratedTypes}export type EnumeratedTypesData = Awaited<ReturnType<typeof getEnumeratedTypes>>