mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 15:17:25 +01:00
Make user sync after accepting or rejecting a quest
This commit is contained in:
@@ -150,7 +150,7 @@ habitrpg.controller('NotificationCtrl',
|
||||
// Quest invitation modal
|
||||
$rootScope.$watch('user.party.quest.RSVPNeeded', function(after, before){
|
||||
if (after != true) return;
|
||||
$rootScope.openModal('questInvitation');
|
||||
$rootScope.openModal('questInvitation', {controller:'PartyCtrl'});
|
||||
});
|
||||
|
||||
$rootScope.$on('responseError', function(ev, error){
|
||||
|
||||
Reference in New Issue
Block a user