mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-05-21 05:08:51 +00:00
update guild member count
This commit is contained in:
parent
06f6dc0a43
commit
126fd55ec6
1 changed files with 1 additions and 0 deletions
|
|
@ -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});
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in a new issue