Skip to content

Commit f5a30b6

Browse files
authored
fix(Dr. Rai Reports): Percent UI Statement Bug (#5680)
1 parent ae36b3d commit f5a30b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/components/dashboard/dr_rai_report.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@
289289
previousPercentage = Math.round(indicator.previous_numerator / indicator.previous_denominator * 100)
290290
}
291291
$('.activity-statement .previous-percentage').text(previousPercentage)
292-
$('#step-' + nextStep + '-' + target.ui).data('denominator', indicator.denominator)
292+
$('#step-' + nextStep + '-' + target.ui).data('denominator', indicator.previous_denominator)
293293
}
294294
$('#step-' + nextStep + '-' + target.ui).removeClass('d-none')
295295
toHide.push($('#step-' + nextStep + '-' + target.ui))

0 commit comments

Comments
 (0)