Skip to content

Commit

Permalink
Reverted 2 decimal places in targets #3369
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisala committed Dec 11, 2024
1 parent f4066f5 commit e5ce4c3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions grails-app/assets/javascripts/services.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,7 @@ function OrganisationServicesViewModel(serviceIds, allServices, outputTargets, p
target.targetDate = ko.observable().extend({simpleDate:false});

target.periodTargets = _.map(periods, function (period) {
// TODO in the future, allowing a score to specifiy the number of decimal places would be useful
return {period: period.value, target: ko.observable(0).extend({numericString:2})};
return {period: period.value, target: ko.observable(0)};
});

function evaluateAndAssignAverage() {
Expand Down

0 comments on commit e5ce4c3

Please sign in to comment.