Browse Source

feat: duplicate user column with data

pull/7202/head
mertmit 1 year ago
parent
commit
83c6fddd2d
  1. 11
      packages/nocodb/src/modules/jobs/jobs/export-import/export.service.ts

11
packages/nocodb/src/modules/jobs/jobs/export-import/export.service.ts

@ -453,6 +453,17 @@ export class ExportService {
row[colId] = v;
}
break;
case UITypes.User:
if (v) {
const userIds = [];
for (const user of v as { id: string }[]) {
userIds.push(user.id);
}
row[colId] = userIds.join(',');
} else {
row[colId] = v;
}
break;
case UITypes.Formula:
case UITypes.Lookup:
case UITypes.Rollup:

Loading…
Cancel
Save