mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 15:17:25 +01:00
@@ -154,7 +154,7 @@ habitrpg.controller('NotificationCtrl',
|
||||
});
|
||||
|
||||
// Quest invitation modal
|
||||
$scope.$watch('user.party.quest.RSVPNeeded && (user.party.quest.completed !== false && user.party.quest.completed !== true)', function(after, before){
|
||||
$scope.$watch('user.party.quest.RSVPNeeded && !user.party.quest.completed', function(after, before){
|
||||
if (after != true) return;
|
||||
$rootScope.openModal('questInvitation', {controller:'PartyCtrl'});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user