Sha256: 0d0da0f19a0ae5fb2ae2bd4b86cb3ad3661add8424bf1c27f5f32d60047beafc

Contents?: true

Size: 881 Bytes

Versions: 82

Compression:

Stored size: 881 Bytes

Contents

import { bindActionCreators } from 'redux';
import { connect } from 'react-redux';
import { setSetting } from '../../../../Components/InventorySettings/InventorySettingsActions';
import AdvancedSettings from './AdvancedSettings';
import {
  selectExcludePackages,
  selectHostObfuscationEnabled,
  selectIpsObfuscationEnabled,
} from '../../../../Components/InventorySettings/InventorySettingsSelectors';

// map state to props
const mapStateToProps = state => ({
  hostObfuscationEnabled: selectHostObfuscationEnabled(state),
  ipsObfuscationEnabled: selectIpsObfuscationEnabled(state),
  excludePackagesEnabled: selectExcludePackages(state),
});

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

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

Version data entries

82 entries across 82 versions & 1 rubygems

Version Path
foreman_rh_cloud-10.0.3 webpack/ForemanInventoryUpload/SubscriptionsPageExtension/InventoryAutoUpload/components/AdvancedSettings/index.js
foreman_rh_cloud-11.0.3 webpack/ForemanInventoryUpload/SubscriptionsPageExtension/InventoryAutoUpload/components/AdvancedSettings/index.js
foreman_rh_cloud-9.0.59 webpack/ForemanInventoryUpload/SubscriptionsPageExtension/InventoryAutoUpload/components/AdvancedSettings/index.js
foreman_rh_cloud-11.0.2 webpack/ForemanInventoryUpload/SubscriptionsPageExtension/InventoryAutoUpload/components/AdvancedSettings/index.js
foreman_rh_cloud-11.0.1 webpack/ForemanInventoryUpload/SubscriptionsPageExtension/InventoryAutoUpload/components/AdvancedSettings/index.js
foreman_rh_cloud-11.0.0 webpack/ForemanInventoryUpload/SubscriptionsPageExtension/InventoryAutoUpload/components/AdvancedSettings/index.js
foreman_rh_cloud-9.0.58 webpack/ForemanInventoryUpload/SubscriptionsPageExtension/InventoryAutoUpload/components/AdvancedSettings/index.js
foreman_rh_cloud-10.0.2 webpack/ForemanInventoryUpload/SubscriptionsPageExtension/InventoryAutoUpload/components/AdvancedSettings/index.js
foreman_rh_cloud-9.0.57 webpack/ForemanInventoryUpload/SubscriptionsPageExtension/InventoryAutoUpload/components/AdvancedSettings/index.js
foreman_rh_cloud-10.0.1 webpack/ForemanInventoryUpload/SubscriptionsPageExtension/InventoryAutoUpload/components/AdvancedSettings/index.js
foreman_rh_cloud-9.0.56 webpack/ForemanInventoryUpload/SubscriptionsPageExtension/InventoryAutoUpload/components/AdvancedSettings/index.js
foreman_rh_cloud-9.0.55 webpack/ForemanInventoryUpload/SubscriptionsPageExtension/InventoryAutoUpload/components/AdvancedSettings/index.js
foreman_rh_cloud-9.0.54 webpack/ForemanInventoryUpload/SubscriptionsPageExtension/InventoryAutoUpload/components/AdvancedSettings/index.js
foreman_rh_cloud-9.0.53 webpack/ForemanInventoryUpload/SubscriptionsPageExtension/InventoryAutoUpload/components/AdvancedSettings/index.js
foreman_rh_cloud-9.0.52 webpack/ForemanInventoryUpload/SubscriptionsPageExtension/InventoryAutoUpload/components/AdvancedSettings/index.js
foreman_rh_cloud-8.0.52 webpack/ForemanInventoryUpload/SubscriptionsPageExtension/InventoryAutoUpload/components/AdvancedSettings/index.js
foreman_rh_cloud-9.0.51 webpack/ForemanInventoryUpload/SubscriptionsPageExtension/InventoryAutoUpload/components/AdvancedSettings/index.js
foreman_rh_cloud-8.0.51 webpack/ForemanInventoryUpload/SubscriptionsPageExtension/InventoryAutoUpload/components/AdvancedSettings/index.js
foreman_rh_cloud-7.0.48 webpack/ForemanInventoryUpload/SubscriptionsPageExtension/InventoryAutoUpload/components/AdvancedSettings/index.js
foreman_rh_cloud-7.0.47 webpack/ForemanInventoryUpload/SubscriptionsPageExtension/InventoryAutoUpload/components/AdvancedSettings/index.js