Sha256: ab98b20fe94589f0abfec4a41eb431b31975e61cd8f4af3c5ddf26fa3fb5d4b1

Contents?: true

Size: 657 Bytes

Versions: 37

Compression:

Stored size: 657 Bytes

Contents

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

import * as actions from './HostObfuscationSwitcherActions';
import HostObfuscationSwitcher from './HostObfuscationSwitcher';
import { selectHostObfuscationEnabled } from '../AccountList/AccountListSelectors';

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

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

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

Version data entries

37 entries across 37 versions & 1 rubygems

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