             return $scope.project.my_permissions.indexOf("modify_us") != -1
 
         render = (us) ->
-            totalPoints = if us.total_points? then us.total_points else "?"
+            totalPoints = calculateTotalPoints(us.points) or "?"
             computableRoles = _.filter($scope.project.roles, "computable")
 
             roles = _.map computableRoles, (role) ->


            $el.find(".pop-points-open").show()

        calculateTotalPoints = (us) ->
            values = _.map(us.points, (v, k) -> $scope.pointsById[v]?.value)
            if values.length == 0
                return "0"


        save = $qqueue.bindAdd (roleId, pointId) =>
            $el.find(".popover").popover().close()

            points = _.clone($model.$modelValue.points, true)
            points[roleId] = pointId

            us = $model.$modelValue.clone()
            us.points = points
            $model.$setViewValue(us)

            onSuccess = ->
                $confirm.notify("success")
