Skip to content

Commit

Permalink
Merge pull request opf#14240 from opf/bug/44859-total-progress-does-n…
Browse files Browse the repository at this point in the history
…ot-change-color

[44859] Total progress does not change color
  • Loading branch information
dombesz authored Nov 24, 2023
2 parents 98902ba + 2829331 commit 50f4c91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/application_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ def current_layout
def progress_bar(pcts, options = {})
pcts = Array(pcts).map(&:round)
closed = pcts[0]
done = (pcts[1] || closed) - closed
done = pcts[1] || 0
width = options[:width] || '100px;'
legend = options[:legend] || ''
total_progress = options[:hide_total_progress] ? '' : t(:total_progress)
Expand Down

0 comments on commit 50f4c91

Please sign in to comment.