Browse Source

fix: attachment conditional inclusion error

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
feat/0523-export-schema
Raju Udava 3 years ago
parent
commit
a7a7d4e696
  1. 2
      packages/nocodb/src/lib/noco/meta/api/sync/helpers/job.ts

2
packages/nocodb/src/lib/noco/meta/api/sync/helpers/job.ts

@ -1366,7 +1366,7 @@ export default async (
break; break;
case UITypes.Attachment: case UITypes.Attachment:
if (syncDB.options.syncLookup) rec[key] = null; if (!syncDB.options.syncAttachment) rec[key] = null;
else { else {
const tempArr = []; const tempArr = [];
for (const v of value) { for (const v of value) {

Loading…
Cancel
Save