summaryrefslogtreecommitdiffstats
path: root/webapp/components/admin_console/manage_roles_modal/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/components/admin_console/manage_roles_modal/index.js')
-rw-r--r--webapp/components/admin_console/manage_roles_modal/index.js25
1 files changed, 0 insertions, 25 deletions
diff --git a/webapp/components/admin_console/manage_roles_modal/index.js b/webapp/components/admin_console/manage_roles_modal/index.js
deleted file mode 100644
index 1ca243621..000000000
--- a/webapp/components/admin_console/manage_roles_modal/index.js
+++ /dev/null
@@ -1,25 +0,0 @@
-// Copyright (c) 2017 Mattermost, Inc. All Rights Reserved.
-// See License.txt for license information.
-
-import {connect} from 'react-redux';
-import {bindActionCreators} from 'redux';
-import {updateUserRoles} from 'mattermost-redux/actions/users';
-
-import ManageRolesModal from './manage_roles_modal.jsx';
-
-function mapStateToProps(state, ownProps) {
- return {
- ...ownProps,
- userAccessTokensEnabled: state.entities.admin.config.ServiceSettings.EnableUserAccessTokens
- };
-}
-
-function mapDispatchToProps(dispatch) {
- return {
- actions: bindActionCreators({
- updateUserRoles
- }, dispatch)
- };
-}
-
-export default connect(mapStateToProps, mapDispatchToProps)(ManageRolesModal);