Sha256: fa617145006825121ba7c00a9c19454b6dec6ce394994e9455f0c37dbe1d5c77

Contents?: true

Size: 674 Bytes

Versions: 37

Compression:

Stored size: 674 Bytes

Contents

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

import * as actions from './SyncButtonActions';
import SyncButton from './SyncButton';
import { selectCloudToken } from '../../../InventorySettings/InventorySettingsSelectors';
import { selectTaskStatus } from './SyncButtonSelectors';

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

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

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

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
foreman_rh_cloud-4.0.36 webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/index.js
foreman_rh_cloud-3.0.33 webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/index.js
foreman_rh_cloud-4.0.35 webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/index.js
foreman_rh_cloud-5.0.35 webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/index.js
foreman_rh_cloud-5.0.34 webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/index.js
foreman_rh_cloud-5.0.33 webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/index.js
foreman_rh_cloud-3.0.32 webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/index.js
foreman_rh_cloud-4.0.32 webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/index.js
foreman_rh_cloud-5.0.32 webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/index.js
foreman_rh_cloud-4.0.31 webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/index.js
foreman_rh_cloud-5.0.31 webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/index.js
foreman_rh_cloud-5.0.30 webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/index.js
foreman_rh_cloud-4.0.30 webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/index.js
foreman_rh_cloud-3.0.29 webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/index.js
foreman_rh_cloud-4.0.29 webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/index.js
foreman_rh_cloud-5.0.29 webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/index.js
foreman_rh_cloud-3.0.28 webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/index.js
foreman_rh_cloud-5.0.28 webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/index.js
foreman_rh_cloud-4.0.27 webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/index.js
foreman_rh_cloud-3.0.26 webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/index.js