Fixes #4719. Guild select for challenges pre-populates with first group

This commit is contained in:
Blade Barringer
2015-02-19 16:53:15 -06:00
parent 78e124c576
commit 98ecd4b457

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