diff --git a/app/views/utable_export/export.xlsx.axlsx b/app/views/utable_export/export.xlsx.axlsx index 4ed5d62..19bbdeb 100644 --- a/app/views/utable_export/export.xlsx.axlsx +++ b/app/views/utable_export/export.xlsx.axlsx @@ -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?