mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-08-03 12:40:00 +00:00
Unset .cid for challenge on challenge delete
This commit is contained in:
parent
79fe0b53c5
commit
6fb95ec27b
1 changed files with 1 additions and 0 deletions
|
|
@ -113,6 +113,7 @@ habitrpg.controller("ChallengesCtrl", ['$rootScope','$scope', 'Shared', 'User',
|
|||
*/
|
||||
function backToChallenges(){
|
||||
$scope.popoverEl.popover('destroy');
|
||||
$scope.cid = null;
|
||||
$state.go('options.social.challenges');
|
||||
$scope.challenges = Challenges.Challenge.query();
|
||||
User.log({});
|
||||
|
|
|
|||
Loading…
Reference in a new issue