Merge pull request #4721 from crookedneighbor/fix-challenge-select-ios

Fixes #4719. Guild select for challenges pre-populates with first group
This commit is contained in:
Blade Barringer 2015-02-23 22:09:17 -06:00
commit e9b72ad40d

View file

@ -33,7 +33,7 @@ habitrpg.controller("ChallengesCtrl", ['$rootScope','$scope', 'Shared', 'User',
todos: [],
rewards: [],
leader: User.user._id,
group: null,
group: $scope.groups[0]._id,
timestamp: +(new Date),
members: [],
official: false