Commit 397434db by Ivan Lan

fix: export headers deep_symbolize_keys

parent 3540cf1e
......@@ -106,7 +106,7 @@ module TalltyImportExport
title1 = workbook.styles.add_style(alignment: alignment, border: border, sz: 12, b: true)
title2 = workbook.styles.add_style(alignment: alignment, border: border, bg_color: '2a5caa', sz: 12, fg_color: 'fffffb')
title3 = workbook.styles.add_style(alignment: alignment.merge(wrap_text: true), border: border, sz: 10)
headers = export_headers || export_headers_result(**options)
headers = (export_headers || export_headers_result(**options)).deep_symbolize_keys
_sheet_name = respond_to?(:sheet_name) ? sheet_name : nil
_sheet_name ||= sheet_name
......
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