mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 07:37:25 +01:00
update guild member count
This commit is contained in:
@@ -159,6 +159,7 @@ habitrpg.controller("GroupsCtrl", ['$scope', '$rootScope', 'Groups', '$http', 'A
|
||||
$scope.groups.guilds.push(joined);
|
||||
if(joined.privacy == 'public'){
|
||||
joined._isMember = true;
|
||||
joined.memberCount++;
|
||||
}
|
||||
$state.go('options.social.guilds.detail', {gid: joined._id});
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user