mirror of
https://github.com/gristlabs/grist-core.git
synced 2024-10-27 20:44:07 +00:00
Merge pull request #242 from gristlabs/import-empty-columns-bug
Fix bug that skips empty columns during imports
This commit is contained in:
commit
09db2253e4
@ -607,8 +607,6 @@ export class ActiveDocImport {
|
|||||||
const srcColIds = srcCols.map(c => c.id as string);
|
const srcColIds = srcCols.map(c => c.id as string);
|
||||||
|
|
||||||
for (const {id, fields} of targetCols) {
|
for (const {id, fields} of targetCols) {
|
||||||
if (fields.isFormula === true || fields.formula !== '') { continue; }
|
|
||||||
|
|
||||||
destCols.push({
|
destCols.push({
|
||||||
colId: destTableId ? id as string : null,
|
colId: destTableId ? id as string : null,
|
||||||
label: fields.label as string,
|
label: fields.label as string,
|
||||||
|
Loading…
Reference in New Issue
Block a user