Browse Source

fix: mark column field system

pull/7304/head
Pranav C 11 months ago
parent
commit
fb0828c0f3
  1. 7
      packages/nocodb/src/services/tables.service.ts

7
packages/nocodb/src/services/tables.service.ts

@ -385,9 +385,10 @@ export class TablesService {
if ( if (
!tableCreatePayLoad.columns.find((c) => c.uidt === uidt && c.system) !tableCreatePayLoad.columns.find((c) => c.uidt === uidt && c.system)
) { ) {
tableCreatePayLoad.columns.push( tableCreatePayLoad.columns.push({
await getColumnPropsFromUIDT({ uidt } as any, source), ...(await getColumnPropsFromUIDT({ uidt } as any, source)),
); system: true,
});
} }
} }
} }

Loading…
Cancel
Save