Merge pull request #242 from gristlabs/import-empty-columns-bug

Fix bug that skips empty columns during imports
This commit is contained in:
George Gevoian 2022-08-11 12:08:07 -07:00 committed by GitHub
commit 09db2253e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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,