Browse Source

fix: unnecessary optional chaining

Signed-off-by: mertmit <mertmit99@gmail.com>
pull/9236/head
mertmit 4 months ago
parent
commit
e00c83b3d1
  1. 2
      packages/nocodb/src/modules/jobs/jobs/export-import/import.service.ts

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

@ -1103,7 +1103,7 @@ export class ImportService {
const colIds = col.colOptions?.formula.match(/(?<=\{\{).*?(?=\}\})/gm);
if (colIds && colIds.length > 0) {
relatedColIds.push(
...col.colOptions.formula?.match(/(?<=\{\{).*?(?=\}\})/gm),
...col.colOptions.formula.match(/(?<=\{\{).*?(?=\}\})/gm),
);
}
}

Loading…
Cancel
Save