Fix invitees--add creator

This commit is contained in:
Ben Ramey
2014-03-25 23:12:12 -05:00
parent 14bd896e37
commit fc796d676f
3 changed files with 4 additions and 9 deletions

View File

@@ -10,7 +10,7 @@ lunchControllers.controller 'RunCtrl', ['$scope', 'socket', '$routeParams', ($sc
(response) ->
$scope.show = true
$scope.run = response
$scope.numOrders = $scope.run.invitees.length + 1
$scope.numOrders = $scope.run.invitees.length
$scope.setProgress()
$scope.$apply()