From 7307156c49b194c4afd946cd9e57715d45b5b21d Mon Sep 17 00:00:00 2001 From: Joram Wilander Date: Wed, 26 Apr 2017 15:49:15 -0400 Subject: PLT-6213 Move team store and actions over to use redux (#6222) * Move team store and actions over to user redux * Fix JS error when inviting by email --- webapp/components/channel_invite_modal/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'webapp/components/channel_invite_modal/index.js') 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) }; } -- cgit v1.2.3-1-g7c22