mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-22 11:38:24 +00:00
Set default group to tavern if no default group is found
This commit is contained in:
parent
fe2fb6deba
commit
fb6a34c2ed
1 changed files with 2 additions and 0 deletions
|
|
@ -54,6 +54,8 @@ habitrpg.controller("ChallengesCtrl", ['$rootScope','$scope', 'Shared', 'User',
|
|||
}
|
||||
}
|
||||
|
||||
if(!defaultGroup) defaultGroup = 'habitrpg';
|
||||
|
||||
$scope.obj = $scope.newChallenge = new Challenges.Challenge({
|
||||
name: '',
|
||||
description: '',
|
||||
|
|
|
|||
Loading…
Reference in a new issue