mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
Set default group to tavern if no default group is found
This commit is contained in:
@@ -54,6 +54,8 @@ habitrpg.controller("ChallengesCtrl", ['$rootScope','$scope', 'Shared', 'User',
|
||||
}
|
||||
}
|
||||
|
||||
if(!defaultGroup) defaultGroup = 'habitrpg';
|
||||
|
||||
$scope.obj = $scope.newChallenge = new Challenges.Challenge({
|
||||
name: '',
|
||||
description: '',
|
||||
|
||||
Reference in New Issue
Block a user