[backport] Issue 3744 New bulk insert of US assigns a 0 value to Points, but default should be '?' (or whatever is predefined), not '0'
parent
c8d2d99151
commit
53276ee028
|
@ -161,7 +161,7 @@ EstimationsService = ($template, $qqueue, $repo, $confirm, $q) ->
|
||||||
values = _.map(@us.points, (v, k) => @pointsById[v]?.value)
|
values = _.map(@us.points, (v, k) => @pointsById[v]?.value)
|
||||||
|
|
||||||
if values.length == 0
|
if values.length == 0
|
||||||
return "0"
|
return "?"
|
||||||
|
|
||||||
notNullValues = _.filter(values, (v) -> v?)
|
notNullValues = _.filter(values, (v) -> v?)
|
||||||
if notNullValues.length == 0
|
if notNullValues.length == 0
|
||||||
|
|
Loading…
Reference in New Issue