The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Fix table editor clone column utils (#18608)
Joshen Lim285f19b304e5
diff --git a/studio/components/grid/utils/column.ts b/studio/components/grid/utils/column.tsindex 7b52ea7886a..c0870713639 100644--- a/studio/components/grid/utils/column.ts+++ b/studio/components/grid/utils/column.ts@@ -6,9 +6,10 @@ import { deepClone } from './common'export function cloneColumn(column: CalculatedColumn<any, any>) {const cloned = deepClone(column)// these properties can't be cloned. Need to manual re-set again- cloned.editor = column.renderEditCell- cloned.headerRenderer = column.renderHeaderCell- cloned.formatter = column.renderCell+ cloned.renderEditCell = column.renderEditCell+ cloned.renderHeaderCell = column.renderHeaderCell+ cloned.renderCell = column.renderCell+ cloned.renderGroupCell = column.renderGroupCellreturn cloned}