Merge pull request #4151 from Alys/challengeFix-2014-10-16

allow challenge tasks to be displayed on challenge page - fixes https://github.com/HabitRPG/habitrpg/issues/4150
This commit is contained in:
negue
2014-10-17 12:50:54 +02:00
+3
View File
@@ -229,4 +229,7 @@ habitrpg.controller("ChallengesCtrl", ['$rootScope','$scope', 'Shared', 'User',
$scope.search.group = _.transform($scope.groups, function(m,g){m[g._id] = false});
}
$scope.shouldShow = function(task, list, prefs){
return true;
};
}]);