From 707b01e1ab8e32cd9006f6ded2c00665b9fb69c5 Mon Sep 17 00:00:00 2001
From: Joram Wilander <jwawilander@gmail.com>
Date: Tue, 8 Nov 2016 09:59:40 -0500
Subject: Don't count inactive users on statistic pages (#4482)

---
 webapp/components/admin_console/admin_team_members_dropdown.jsx | 1 +
 1 file changed, 1 insertion(+)

(limited to 'webapp/components/admin_console/admin_team_members_dropdown.jsx')

diff --git a/webapp/components/admin_console/admin_team_members_dropdown.jsx b/webapp/components/admin_console/admin_team_members_dropdown.jsx
index dffc0573a..0331e6c4e 100644
--- a/webapp/components/admin_console/admin_team_members_dropdown.jsx
+++ b/webapp/components/admin_console/admin_team_members_dropdown.jsx
@@ -81,6 +81,7 @@ export default class AdminTeamMembersDropdown extends React.Component {
             this.props.teamMember.team_id,
             this.props.user.id,
             () => {
+                AsyncClient.getTeamStats(this.props.teamMember.team_id);
                 UserStore.removeProfileFromTeam(this.props.teamMember.team_id, this.props.user.id);
                 UserStore.emitInTeamChange();
             },
-- 
cgit v1.2.3-1-g7c22

