Browse Source

Merge pull request #2917 from nocodb/fix/nested-lookup

fix: nested lookup import failure
pull/2983/head
navi 2 years ago committed by GitHub
parent
commit
db54a6e703
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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
);
if (ncLookupColumnId === undefined) {
if (
ncLookupColumnId === undefined ||
ncRelationColumnId === undefined
) {
continue;
}
@ -1146,7 +1149,7 @@ export default async (
nestedLookupTbl[0].typeOptions.foreignTableRollupColumnId
);
if (ncLookupColumnId === undefined) {
if (ncLookupColumnId === undefined || ncRelationColumnId === undefined) {
continue;
}

Loading…
Cancel
Save