mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-04 09:39:23 +00:00
Merge pull request #2275 from colegleason/streak-modal
Don't show Streak achievement modal on Fix Character Values if it was undefined
This commit is contained in:
commit
f539108b39
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ habitrpg.controller('NotificationCtrl',
|
|||
});
|
||||
|
||||
$rootScope.$watch('user.achievements.streak', function(after, before){
|
||||
if(after == before || after < before) return;
|
||||
if(before == undefined || after == before || after < before) return;
|
||||
$rootScope.modals.achievements.streak = true;
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue