Commit 06c3deb9 by Ivan Lan

fix: symbolize_keys -> deep_symbolize_keys

parent 390060e2
......@@ -307,7 +307,7 @@ module TalltyImportExport
end
def handle_select(data, origin_header, **opts)
header = origin_header.symbolize_keys
header = origin_header.deep_symbolize_keys
if header[:select].present?
select_option = header[:select].find { |option| option[:value].to_s == data.to_s }
select_option.present? ? select_option[:label] : data
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment