summaryrefslogtreecommitdiffstats
path: root/webapp/components/channel_invite_modal/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/components/channel_invite_modal/index.js')
-rw-r--r--webapp/components/channel_invite_modal/index.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/webapp/components/channel_invite_modal/index.js b/webapp/components/channel_invite_modal/index.js
index c8bdb54f5..a89a94a4c 100644
--- a/webapp/components/channel_invite_modal/index.js
+++ b/webapp/components/channel_invite_modal/index.js
@@ -4,6 +4,7 @@
import {connect} from 'react-redux';
import {bindActionCreators} from 'redux';
import {getProfilesNotInChannel} from 'mattermost-redux/actions/users';
+import {getTeamStats} from 'mattermost-redux/actions/teams';
import ChannelInviteModal from './channel_invite_modal.jsx';
@@ -16,7 +17,8 @@ function mapStateToProps(state, ownProps) {
function mapDispatchToProps(dispatch) {
return {
actions: bindActionCreators({
- getProfilesNotInChannel
+ getProfilesNotInChannel,
+ getTeamStats
}, dispatch)
};
}