From ebcfd2074f0852a254c1e878aa90aed4d6d2c67d Mon Sep 17 00:00:00 2001 From: George Gevoian Date: Thu, 11 Aug 2022 11:05:30 -0700 Subject: [PATCH] Fix bug that skips empty columns during imports A faulty conditional in _makeDefaultTransformRule was the cause of the bug. The conditional isn't necessary, as it's unreachable from the import flows, so it was removed. --- app/server/lib/ActiveDocImport.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/server/lib/ActiveDocImport.ts b/app/server/lib/ActiveDocImport.ts index 4329f007..90b0604f 100644 --- a/app/server/lib/ActiveDocImport.ts +++ b/app/server/lib/ActiveDocImport.ts @@ -607,8 +607,6 @@ export class ActiveDocImport { const srcColIds = srcCols.map(c => c.id as string); for (const {id, fields} of targetCols) { - if (fields.isFormula === true || fields.formula !== '') { continue; } - destCols.push({ colId: destTableId ? id as string : null, label: fields.label as string,