mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-16 22:27:26 +01:00
Added notification for when leader is updated (#9674)
* Added notification for when leader is updated * Abstracted challenge member search component * Added challenge member search modal to challenge detail * Added group search
This commit is contained in:
@@ -246,6 +246,10 @@ function _getMembersForItem (type) {
|
||||
addComputedStats = true;
|
||||
}
|
||||
}
|
||||
|
||||
if (req.query.search) {
|
||||
query['profile.name'] = {$regex: req.query.search};
|
||||
}
|
||||
} else if (type === 'group-invites') {
|
||||
if (group.type === 'guild') { // eslint-disable-line no-lonely-if
|
||||
query['invitations.guilds.id'] = group._id;
|
||||
|
||||
Reference in New Issue
Block a user