Browse Source

fix: nested lookup

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
pull/2917/head
Raju Udava 2 years ago
parent
commit
82d3894dbf
  1. 7
      packages/nocodb/src/lib/meta/api/sync/helpers/job.ts

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

@ -945,7 +945,10 @@ export default async (
nestedLookupTbl[0].typeOptions.foreignTableRollupColumnId nestedLookupTbl[0].typeOptions.foreignTableRollupColumnId
); );
if (ncLookupColumnId === undefined) { if (
ncLookupColumnId === undefined ||
ncRelationColumnId === undefined
) {
continue; continue;
} }
@ -1146,7 +1149,7 @@ export default async (
nestedLookupTbl[0].typeOptions.foreignTableRollupColumnId nestedLookupTbl[0].typeOptions.foreignTableRollupColumnId
); );
if (ncLookupColumnId === undefined) { if (ncLookupColumnId === undefined || ncRelationColumnId === undefined) {
continue; continue;
} }

Loading…
Cancel
Save