mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 15:17:25 +01:00
@@ -99,10 +99,7 @@ habitrpg.controller("ChallengesCtrl", ['$rootScope','$scope', 'Shared', 'User',
|
|||||||
$scope.challenges = Challenges.Challenge.query();
|
$scope.challenges = Challenges.Challenge.query();
|
||||||
User.sync();
|
User.sync();
|
||||||
} else {
|
} else {
|
||||||
// TODO figure out a more elegant way about this
|
$state.go('options.social.challenges.detail', {cid: _challenge._id});
|
||||||
//challenge._editing = false;
|
|
||||||
challenge._locked = true;
|
|
||||||
getChallenges();
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user