mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 07:37:25 +01:00
fix #1803, when getting a drop do not return whole user, @lefnire it is ok to change api return data or we need to annouce it before so that third parties can update their code?
This commit is contained in:
@@ -39,6 +39,7 @@ habitrpg.controller('NotificationCtrl',
|
||||
});
|
||||
|
||||
$rootScope.$watch('user.achievements.ultimateGear', function(after, before){
|
||||
console.log(after, before)
|
||||
if (after === before || after !== true) return;
|
||||
$rootScope.modals.achievements.ultimateGear = true;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user