mirror of
https://github.com/gristlabs/grist-core.git
synced 2024-10-27 20:44:07 +00:00
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:
parent
7f74652b26
commit
ebcfd2074f
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user