summaryrefslogtreecommitdiffstats
path: root/webapp/components/channel_invite_modal.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/components/channel_invite_modal.jsx')
-rw-r--r--webapp/components/channel_invite_modal.jsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/webapp/components/channel_invite_modal.jsx b/webapp/components/channel_invite_modal.jsx
index 29607136c..89185435a 100644
--- a/webapp/components/channel_invite_modal.jsx
+++ b/webapp/components/channel_invite_modal.jsx
@@ -38,7 +38,7 @@ export default class ChannelInviteModal extends React.Component {
this.state = {
users: null,
- total: teamStats.member_count - channelStats.member_count,
+ total: teamStats.active_member_count - channelStats.member_count,
show: true,
search: false,
statusChange: false
@@ -72,8 +72,8 @@ export default class ChannelInviteModal extends React.Component {
const teamStats = TeamStore.getCurrentStats();
this.setState({
- users: UserStore.getProfileListNotInChannel(this.props.channel.id),
- total: teamStats.member_count - channelStats.member_count
+ users: UserStore.getProfileListNotInChannel(this.props.channel.id, true),
+ total: teamStats.active_member_count - channelStats.member_count
});
}