fix error

This commit is contained in:
邱博亞 2022-12-31 16:10:36 +08:00
parent 453bc511d7
commit 8d96eedb51
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ wb.add_worksheet(name: "Ask Question") do |sheet|
text = I18n.t('ask.no')
end
when 'situation'
text = situations[ask_question.situation].join('/') rescue ''
text = situations[ask_question.situation].collect{|k,v| v}.join('/') rescue ''
end
row_group[field] = text
end