Browse Source

fix: mark column field system

pull/7304/head
Pranav C 12 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 (
!tableCreatePayLoad.columns.find((c) => c.uidt === uidt && c.system)
) {
tableCreatePayLoad.columns.push(
await getColumnPropsFromUIDT({ uidt } as any, source),
);
tableCreatePayLoad.columns.push({
...(await getColumnPropsFromUIDT({ uidt } as any, source)),
system: true,
});
}
}
}

Loading…
Cancel
Save