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.
This commit is contained in:
George Gevoian 2022-08-11 11:05:30 -07:00
parent 7f74652b26
commit ebcfd2074f

View File

@ -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,