mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 15:17:25 +01:00
Changed all party.quest.key instances in quest invite modal to user.party.quest.key and changed invite modal check
This commit is contained in:
@@ -148,9 +148,8 @@ habitrpg.controller('NotificationCtrl',
|
||||
});
|
||||
|
||||
// Quest invitation modal
|
||||
$rootScope.$watch('user.party.quest.RSVPNeeded == true', function(after, before){
|
||||
$rootScope.$watch('user.party.quest.RSVPNeeded', function(after, before){
|
||||
if (after != true) return;
|
||||
$rootScope.party.$get();
|
||||
$rootScope.openModal('questInvitation');
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user