fix bulk table mappings

This commit is contained in:
Pete Matsyburka committed 2025-06-24 12:49:52 +03:00
1 parent 33b14d5278
commit ade5c4832f
1 file changed
+1 -1
@@ -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 })
}
})