Skip to content

Commit

Permalink
f rb
Browse files Browse the repository at this point in the history
  • Loading branch information
just806me committed Feb 5, 2024
1 parent e1fc53e commit 55e4165
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/services/spreadsheet/public.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ def build
@config.grade_groups.each do |grades|
Rails.logger.debug { "Processing #{grades.join ','} grade of contest ##{@contest.id}..." }

name = grades.map { Grade::VALUES[_1] }.join ', '
workbook.add_worksheet name: do |sheet|
workbook.add_worksheet name: grades.join(', ') do |sheet|
add_header_if_required sheet, title_style

# Merge only after all data, otherwise will be ignored
Expand Down

0 comments on commit 55e4165

Please sign in to comment.