Sha256: 0c44a3f5b21d915d495931b666fb790b791a27772ee31a9e31a6d5ed2aa9b6f8

Contents?: true

Size: 755 Bytes

Versions: 12

Compression:

Stored size: 755 Bytes

Contents

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

import './ExistingHostSelection.scss';
import ExistingHostSelection from './ExistingHostSelection';
import * as ExistingHostSelectionActions from './ExistingHostSelectionActions';

import {
  selectServiceId,
  selectAvailableHosts,
  selectAlreadyUsedHosts,
} from './ExistingHostSelectionSelectors';

const mapStateToProps = state => ({
  serviceId: selectServiceId(state),
  availableHosts: selectAvailableHosts(state),
  alreadyUsedHosts: selectAlreadyUsedHosts(state),
});

const mapDispatchToProps = dispatch =>
  bindActionCreators(ExistingHostSelectionActions, dispatch);

export default connect(
  mapStateToProps,
  mapDispatchToProps
)(ExistingHostSelection);

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
foreman_acd-0.11.0 webpack/components/ExistingHostSelection/index.js
foreman_acd-0.10.0 webpack/components/ExistingHostSelection/index.js
foreman_acd-0.9.7 webpack/components/ExistingHostSelection/index.js
foreman_acd-0.9.5 webpack/components/ExistingHostSelection/index.js
foreman_acd-0.9.4 webpack/components/ExistingHostSelection/index.js
foreman_acd-0.9.3 webpack/components/ExistingHostSelection/index.js
foreman_acd-0.9.2.3 webpack/components/ExistingHostSelection/index.js
foreman_acd-0.9.2.2 webpack/components/ExistingHostSelection/index.js
foreman_acd-0.9.2.1 webpack/components/ExistingHostSelection/index.js
foreman_acd-0.9.2 webpack/components/ExistingHostSelection/index.js
foreman_acd-0.9.1 webpack/components/ExistingHostSelection/index.js
foreman_acd-0.9.0 webpack/components/ExistingHostSelection/index.js