small fix
This commit is contained in:
parent
30453d0d8a
commit
69aa07056d
|
@ -50,11 +50,11 @@ wb.add_worksheet(name: "Structure") do |sheet|
|
|||
case col.type
|
||||
when "text"
|
||||
site_in_use_locales.sort.each do |locale|
|
||||
row << column.text_translations[locale.to_s]
|
||||
row << (column.text_translations[locale.to_s] rescue "")
|
||||
end
|
||||
when "editor"
|
||||
site_in_use_locales.sort.each do |locale|
|
||||
row << column.content_translations[locale.to_s]
|
||||
row << (column.content_translations[locale.to_s] rescue "")
|
||||
end
|
||||
when "image"
|
||||
if !column.image.url.nil?
|
||||
|
|
Loading…
Reference in New Issue