The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Fix check in SpreadsheetImport utils
Joshen Lim3d4b9a492cbe
diff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/SpreadsheetImport/SpreadsheetImport.utils.ts b/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/SpreadsheetImport/SpreadsheetImport.utils.tsindex ed3dca9ffcd..585fba63f4f 100644--- a/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/SpreadsheetImport/SpreadsheetImport.utils.ts+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/SpreadsheetImport/SpreadsheetImport.utils.ts@@ -123,7 +123,7 @@ export const inferColumnType = (column: string, rows: object[]) => {// Infer boolean typeif (includes(['true', 'false'], columnData.toString().toLowerCase())) {const isAllBoolean = columnDataAcrossRows.every((item: any) => {- if (item === null) return true+ if (item === null || item === undefined) return trueelse return includes(['true', 'false'], item.toString().toLowerCase())})if (isAllBoolean) {