Sha256: 7a33830b5f6428a161b678fbc673ae5401c7a3c5fd8264597c4560a88618e48a

Contents?: true

Size: 750 Bytes

Versions: 31

Compression:

Stored size: 750 Bytes

Contents

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

import * as actions from './SyncButtonActions';
import reducer from './SyncButtonReducer';
import SyncButton from './SyncButton';
import { selectCloudToken } from '../../../AccountList/AccountListSelectors';
import { selectStatus } from './SyncButtonSelectors';

// map state to props
const mapStateToProps = state => ({
  cloudToken: selectCloudToken(state),
  status: selectStatus(state),
});

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

export const reducers = { inventorySync: reducer };

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

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
foreman_rh_cloud-2.0.18.1 webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/index.js
foreman_rh_cloud-1.0.18 webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/index.js
foreman_rh_cloud-2.0.18 webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/index.js
foreman_rh_cloud-1.0.17 webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/index.js
foreman_rh_cloud-2.0.17 webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/index.js
foreman_rh_cloud-3.0.17 webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/index.js
foreman_rh_cloud-2.0.16 webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/index.js
foreman_rh_cloud-1.0.16 webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/index.js
foreman_rh_cloud-3.0.16 webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/index.js
foreman_rh_cloud-1.0.15 webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/index.js
foreman_rh_cloud-2.0.15 webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/index.js
foreman_rh_cloud-3.0.15 webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/index.js
foreman_rh_cloud-3.0.14 webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/index.js
foreman_rh_cloud-2.0.14 webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/index.js
foreman_rh_cloud-1.0.14 webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/index.js
foreman_rh_cloud-0.9.14 webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/index.js
foreman_rh_cloud-0.9.13.1 webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/index.js
foreman_rh_cloud-1.0.13.1 webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/index.js
foreman_rh_cloud-2.0.13.1 webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/index.js
foreman_rh_cloud-0.9.13 webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/index.js