summaryrefslogtreecommitdiffstats
path: root/webapp/components/integrations/components/installed_oauth_apps/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/components/integrations/components/installed_oauth_apps/index.js')
-rw-r--r--webapp/components/integrations/components/installed_oauth_apps/index.js31
1 files changed, 0 insertions, 31 deletions
diff --git a/webapp/components/integrations/components/installed_oauth_apps/index.js b/webapp/components/integrations/components/installed_oauth_apps/index.js
deleted file mode 100644
index bfeed6d66..000000000
--- a/webapp/components/integrations/components/installed_oauth_apps/index.js
+++ /dev/null
@@ -1,31 +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 * as Actions from 'mattermost-redux/actions/integrations';
-import {getOAuthApps} from 'mattermost-redux/selectors/entities/integrations';
-import {isCurrentUserSystemAdmin} from 'mattermost-redux/selectors/entities/users';
-
-import InstalledOAuthApps from './installed_oauth_apps.jsx';
-
-function mapStateToProps(state, ownProps) {
- return {
- ...ownProps,
- oauthApps: getOAuthApps(state),
- isSystemAdmin: isCurrentUserSystemAdmin(state),
- regenOAuthAppSecretRequest: state.requests.integrations.updateOAuthApp
- };
-}
-
-function mapDispatchToProps(dispatch) {
- return {
- actions: bindActionCreators({
- getOAuthApps: Actions.getOAuthApps,
- regenOAuthAppSecret: Actions.regenOAuthAppSecret,
- deleteOAuthApp: Actions.deleteOAuthApp
- }, dispatch)
- };
-}
-
-export default connect(mapStateToProps, mapDispatchToProps)(InstalledOAuthApps); \ No newline at end of file