fix bulk table mappings

pull/502/head
Pete Matsyburka 4 months ago
parent 33b14d5278
commit ade5c4832f

@ -406,7 +406,7 @@ export default {
this.mappings.every((m) => m.column_index !== index)
})
if (columnIndex !== -1) {
if (columnIndex !== -1 && this.rows.some((row) => row[columnIndex])) {
this.mappings.push({ uuid: v4(), field_name: field.name, column_index: columnIndex, submitter_uuid: submitter.uuid })
}
})

Loading…
Cancel
Save