Fixes #5623 and fixes #5135 (correctly displays equipment stats in member modals)

This commit is contained in:
hairlessbear
2015-07-15 11:58:08 -04:00
committed by Blade Barringer
parent 3fa8ab80b5
commit dbf406c921

View File

@@ -173,6 +173,7 @@ habitrpg.controller("GroupsCtrl", ['$scope', '$rootScope', 'Shared', 'Groups', '
member.petCount = Shared.countPets($rootScope.countExists(member.items.pets), member.items.pets);
member.mountCount = Shared.countMounts($rootScope.countExists(member.items.mounts), member.items.mounts);
$scope.profile = member;
$scope.e = member.items.gear.equipped;
});
$scope.sendPrivateMessage = function(uuid, message){
// Don't do anything if the user somehow gets here without a message.