The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix: handle undefined columns in wrapper table display (#44801)
Jordi Enrice541719345ed
diff --git a/apps/studio/components/interfaces/Integrations/Wrappers/CreateWrapperSheet.tsx b/apps/studio/components/interfaces/Integrations/Wrappers/CreateWrapperSheet.tsxindex db484468604..a3ea1b2931a 100644--- a/apps/studio/components/interfaces/Integrations/Wrappers/CreateWrapperSheet.tsx+++ b/apps/studio/components/interfaces/Integrations/Wrappers/CreateWrapperSheet.tsx@@ -387,7 +387,8 @@ export const CreateWrapperSheet = ({{table.schema_name}.{table.table_name}</p><p className="text-sm text-foreground-light">- Columns: {table.columns.map((column: any) => column.name).join(', ')}+ Columns:{' '}+ {(table.columns ?? []).map((column: any) => column.name).join(', ')}</p></div><div className="flex items-center space-x-2">diff --git a/apps/studio/components/interfaces/Integrations/Wrappers/EditWrapperSheet.tsx b/apps/studio/components/interfaces/Integrations/Wrappers/EditWrapperSheet.tsxindex 91da61224fc..3ab33ef2020 100644--- a/apps/studio/components/interfaces/Integrations/Wrappers/EditWrapperSheet.tsx+++ b/apps/studio/components/interfaces/Integrations/Wrappers/EditWrapperSheet.tsx@@ -291,7 +291,8 @@ export const EditWrapperSheet = ({{table.schema_name}.{table.table_name}</p><p className="text-sm text-foreground-light">- Columns: {table.columns.map((column: any) => column.name).join(', ')}+ Columns:{' '}+ {(table.columns ?? []).map((column: any) => column.name).join(', ')}</p></div><div className="flex items-center space-x-2">