Sha256: 8ff7b130c26ad240f0cb7fe1151128301f1b1d2218260eaf851242e5e968a00f

Contents?: true

Size: 892 Bytes

Versions: 42

Compression:

Stored size: 892 Bytes

Contents

import { bindActionCreators } from 'redux';
import { connect } from 'react-redux';

import * as actions from './InsightsCloudSyncActions';
import { fetchInsights } from './Components/InsightsTable/InsightsTableActions';
import InsightsCloudSync from './InsightsCloudSync';
import insightsCloudSyncReducers from './InsightsCloudSyncReducers';
import {
  selectSearch,
  selectHasToken,
} from './Components/InsightsTable/InsightsTableSelectors';
// map state to props
const mapStateToProps = state => ({
  query: selectSearch(state),
  hasToken: selectHasToken(state),
});

// map action dispatchers to props
const mapDispatchToProps = dispatch =>
  bindActionCreators({ ...actions, fetchInsights }, dispatch);

// export reducers
export const reducers = insightsCloudSyncReducers;

// export connected component
export default connect(mapStateToProps, mapDispatchToProps)(InsightsCloudSync);

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
foreman_rh_cloud-4.0.26 webpack/InsightsCloudSync/index.js
foreman_rh_cloud-4.0.25.1 webpack/InsightsCloudSync/index.js
foreman_rh_cloud-3.0.25 webpack/InsightsCloudSync/index.js
foreman_rh_cloud-4.0.25 webpack/InsightsCloudSync/index.js
foreman_rh_cloud-3.0.24.1 webpack/InsightsCloudSync/index.js
foreman_rh_cloud-4.0.24.1 webpack/InsightsCloudSync/index.js
foreman_rh_cloud-3.0.24 webpack/InsightsCloudSync/index.js
foreman_rh_cloud-4.0.24 webpack/InsightsCloudSync/index.js
foreman_rh_cloud-3.0.23 webpack/InsightsCloudSync/index.js
foreman_rh_cloud-4.0.23 webpack/InsightsCloudSync/index.js
foreman_rh_cloud-3.0.22 webpack/InsightsCloudSync/index.js
foreman_rh_cloud-4.0.22 webpack/InsightsCloudSync/index.js
foreman_rh_cloud-4.0.21.1 webpack/InsightsCloudSync/index.js
foreman_rh_cloud-3.0.21.1 webpack/InsightsCloudSync/index.js
foreman_rh_cloud-3.0.21 webpack/InsightsCloudSync/index.js
foreman_rh_cloud-3.0.20 webpack/InsightsCloudSync/index.js
foreman_rh_cloud-3.0.19 webpack/InsightsCloudSync/index.js
foreman_rh_cloud-3.0.18.1 webpack/InsightsCloudSync/index.js
foreman_rh_cloud-3.0.18 webpack/InsightsCloudSync/index.js
foreman_rh_cloud-3.0.17 webpack/InsightsCloudSync/index.js