summaryrefslogtreecommitdiffstats
path: root/webapp/components/admin_console/elasticsearch_status/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/components/admin_console/elasticsearch_status/index.js')
-rw-r--r--webapp/components/admin_console/elasticsearch_status/index.js28
1 files changed, 0 insertions, 28 deletions
diff --git a/webapp/components/admin_console/elasticsearch_status/index.js b/webapp/components/admin_console/elasticsearch_status/index.js
deleted file mode 100644
index 6446195d2..000000000
--- a/webapp/components/admin_console/elasticsearch_status/index.js
+++ /dev/null
@@ -1,28 +0,0 @@
-// Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved.
-// See License.txt for license information.
-
-import {connect} from 'react-redux';
-import {bindActionCreators} from 'redux';
-import {getJobsByType} from 'mattermost-redux/actions/jobs';
-import {JobTypes} from 'utils/constants.jsx';
-
-import * as Selectors from 'mattermost-redux/selectors/entities/jobs';
-
-import Status from './status.jsx';
-
-function mapStateToProps(state, ownProps) {
- return {
- ...ownProps,
- jobs: Selectors.makeGetJobsByType(JobTypes.ELASTICSEARCH_POST_INDEXING)(state)
- };
-}
-
-function mapDispatchToProps(dispatch) {
- return {
- actions: bindActionCreators({
- getJobsByType
- }, dispatch)
- };
-}
-
-export default connect(mapStateToProps, mapDispatchToProps)(Status);