mirror of
https://github.com/System-End/theseus.git
synced 2026-04-19 22:15:09 +00:00
safe nav header map
This commit is contained in:
parent
9dab3dd17d
commit
c1518884bb
1 changed files with 1 additions and 1 deletions
|
|
@ -51,7 +51,7 @@
|
|||
</header>
|
||||
<%# List unmapped fields %>
|
||||
<%
|
||||
mapped_fields = @csv_headers.map { |header| default_mapping[header.downcase] }.compact
|
||||
mapped_fields = @csv_headers.map { |header| default_mapping[header&.downcase] }.compact
|
||||
unmapped_fields = (@address_fields - ["batch_id"]) - mapped_fields
|
||||
|
||||
# Find required fields that couldn't be automapped
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue