mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 23:27:26 +01:00
feat(sharing): Remaining cheevo modals
This commit is contained in:
@@ -154,12 +154,12 @@ habitrpg.controller('NotificationCtrl',
|
||||
|
||||
$rootScope.$watch('user.achievements.rebirths', function(after, before){
|
||||
if(after === before) return;
|
||||
$rootScope.openModal('achievements/rebirth');
|
||||
$rootScope.openModal('achievements/rebirth', {controller:'UserCtrl', size: 'sm'});
|
||||
});
|
||||
|
||||
$rootScope.$watch('user.flags.contributor', function(after, before){
|
||||
if (after === before || after !== true) return;
|
||||
$rootScope.openModal('achievements/contributor');
|
||||
$rootScope.openModal('achievements/contributor',{controller:'UserCtrl'});
|
||||
});
|
||||
|
||||
// Completed quest modal
|
||||
|
||||
Reference in New Issue
Block a user