Skip to content

Commit

Permalink
fix error in text for carbon savings
Browse files Browse the repository at this point in the history
  • Loading branch information
dereke committed Jan 19, 2020
1 parent a4c0a26 commit 7a547a6
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 @@ -48,7 +48,7 @@ def initiative_carbon_text(initiative)
text = 'Carbon Saving not applicable'
if initiative.carbon_saving_anticipated?
if initiative.carbon_saving_quantified?
text = "Direct Carbon Saving: #{format_carbon_saving(initiative.carbon_saving_amount)}</p>"
text = "Direct Carbon Saving: #{format_carbon_saving(initiative.carbon_saving_amount)}"
end
text = 'Carbon Saving not yet quantified' unless initiative.carbon_saving_quantified?
end
Expand Down

0 comments on commit 7a547a6

Please sign in to comment.