From 70786e0b809313dca8493393fde98cd9fa4254e3 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Fri, 23 Feb 2018 18:48:52 -0500 Subject: [PATCH] Derp --- templates/goal.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/goal.html b/templates/goal.html index 9038bfe..8be983f 100644 --- a/templates/goal.html +++ b/templates/goal.html @@ -10,6 +10,8 @@ {% if goal < total_sum %} {# Make the graph still make sense if we exceeded the goal #} {% set adjusted_goal = total_sum %} + {% else %} + {% set adjusted_goal = goal %} {% endif %} {% set recurring_progress = recurring_sum / adjusted_goal %}