Sha256: 20c2387e4849667352d0309b1964e95c87df94b1350857893aa411c1f925569b

Contents?: true

Size: 725 Bytes

Versions: 81

Compression:

Stored size: 725 Bytes

Contents

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

import {
  getSettings,
  setSetting,
} from '../../Components/InventorySettings/InventorySettingsActions';
import InventoryAutoUpload from './InventoryAutoUpload';
import { selectAutoUploadEnabled } from '../../Components/InventorySettings/InventorySettingsSelectors';

// map state to props
const mapStateToProps = state => ({
  autoUploadEnabled: selectAutoUploadEnabled(state),
});

// map action dispatchers to props
const mapDispatchToProps = dispatch =>
  bindActionCreators({ setSetting, getSettings }, dispatch);

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

Version data entries

81 entries across 81 versions & 1 rubygems

Version Path
foreman_rh_cloud-4.0.27 webpack/ForemanInventoryUpload/SubscriptionsPageExtension/InventoryAutoUpload/index.js
foreman_rh_cloud-3.0.26 webpack/ForemanInventoryUpload/SubscriptionsPageExtension/InventoryAutoUpload/index.js
foreman_rh_cloud-4.0.26 webpack/ForemanInventoryUpload/SubscriptionsPageExtension/InventoryAutoUpload/index.js
foreman_rh_cloud-4.0.25.1 webpack/ForemanInventoryUpload/SubscriptionsPageExtension/InventoryAutoUpload/index.js
foreman_rh_cloud-3.0.25 webpack/ForemanInventoryUpload/SubscriptionsPageExtension/InventoryAutoUpload/index.js
foreman_rh_cloud-4.0.25 webpack/ForemanInventoryUpload/SubscriptionsPageExtension/InventoryAutoUpload/index.js
foreman_rh_cloud-3.0.24.1 webpack/ForemanInventoryUpload/SubscriptionsPageExtension/InventoryAutoUpload/index.js
foreman_rh_cloud-4.0.24.1 webpack/ForemanInventoryUpload/SubscriptionsPageExtension/InventoryAutoUpload/index.js
foreman_rh_cloud-3.0.24 webpack/ForemanInventoryUpload/SubscriptionsPageExtension/InventoryAutoUpload/index.js
foreman_rh_cloud-4.0.24 webpack/ForemanInventoryUpload/SubscriptionsPageExtension/InventoryAutoUpload/index.js
foreman_rh_cloud-3.0.23 webpack/ForemanInventoryUpload/SubscriptionsPageExtension/InventoryAutoUpload/index.js
foreman_rh_cloud-4.0.23 webpack/ForemanInventoryUpload/SubscriptionsPageExtension/InventoryAutoUpload/index.js
foreman_rh_cloud-3.0.22 webpack/ForemanInventoryUpload/SubscriptionsPageExtension/InventoryAutoUpload/index.js
foreman_rh_cloud-4.0.22 webpack/ForemanInventoryUpload/SubscriptionsPageExtension/InventoryAutoUpload/index.js
foreman_rh_cloud-4.0.21.1 webpack/ForemanInventoryUpload/SubscriptionsPageExtension/InventoryAutoUpload/index.js
foreman_rh_cloud-3.0.21.1 webpack/ForemanInventoryUpload/SubscriptionsPageExtension/InventoryAutoUpload/index.js
foreman_rh_cloud-3.0.21 webpack/ForemanInventoryUpload/SubscriptionsPageExtension/InventoryAutoUpload/index.js
foreman_rh_cloud-3.0.20 webpack/ForemanInventoryUpload/SubscriptionsPageExtension/InventoryAutoUpload/index.js
foreman_rh_cloud-3.0.19 webpack/ForemanInventoryUpload/SubscriptionsPageExtension/InventoryAutoUpload/index.js
foreman_rh_cloud-3.0.18.1 webpack/ForemanInventoryUpload/SubscriptionsPageExtension/InventoryAutoUpload/index.js