Browse Source

fix: duplicate ro system fields

pull/7373/head
mertmit 10 months ago
parent
commit
dccae16804
  1. 3
      packages/nocodb/src/modules/jobs/jobs/export-import/export.service.ts

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

@ -458,7 +458,8 @@ export class ExportService {
case UITypes.LastModifiedBy: case UITypes.LastModifiedBy:
if (v) { if (v) {
const userIds = []; const userIds = [];
for (const user of v as { id: string }[]) { const userRecord = Array.isArray(v) ? v : [v];
for (const user of userRecord) {
userIds.push(user.id); userIds.push(user.id);
} }
row[colId] = userIds.join(','); row[colId] = userIds.join(',');

Loading…
Cancel
Save