Sha256: eaebb512140dbd74284a2d98623654679deffd769c46aca487e23d468cd6a0ba

Contents?: true

Size: 795 Bytes

Versions: 32

Compression:

Stored size: 795 Bytes

Contents

import { bindActionCreators } from 'redux';
import { connect } from 'react-redux';
import { selectCurrentOrganization } from 'foremanReact/components/Layout/LayoutSelectors';
import reducer from './InventoryFilterReducer';
import * as actions from './InventoryFilterActions';
import InventoryFilter from './InventoryFilter';
import { selectFilterTerm } from './InventoryFilterSelectors';

export const reducers = { inventoryFilter: reducer };

const mapStateToProps = state => ({
  filterTerm: selectFilterTerm(state),
  organization: selectCurrentOrganization(state),
});
// map action dispatchers to props
const mapDispatchToProps = dispatch => bindActionCreators(actions, dispatch);

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

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
foreman_rh_cloud-4.0.36 webpack/ForemanInventoryUpload/Components/InventoryFilter/index.js
foreman_rh_cloud-3.0.33 webpack/ForemanInventoryUpload/Components/InventoryFilter/index.js
foreman_rh_cloud-4.0.35 webpack/ForemanInventoryUpload/Components/InventoryFilter/index.js
foreman_rh_cloud-3.0.32 webpack/ForemanInventoryUpload/Components/InventoryFilter/index.js
foreman_rh_cloud-4.0.32 webpack/ForemanInventoryUpload/Components/InventoryFilter/index.js
foreman_rh_cloud-4.0.31 webpack/ForemanInventoryUpload/Components/InventoryFilter/index.js
foreman_rh_cloud-4.0.30 webpack/ForemanInventoryUpload/Components/InventoryFilter/index.js
foreman_rh_cloud-3.0.29 webpack/ForemanInventoryUpload/Components/InventoryFilter/index.js
foreman_rh_cloud-4.0.29 webpack/ForemanInventoryUpload/Components/InventoryFilter/index.js
foreman_rh_cloud-5.0.29 webpack/ForemanInventoryUpload/Components/InventoryFilter/index.js
foreman_rh_cloud-3.0.28 webpack/ForemanInventoryUpload/Components/InventoryFilter/index.js
foreman_rh_cloud-5.0.28 webpack/ForemanInventoryUpload/Components/InventoryFilter/index.js
foreman_rh_cloud-4.0.27 webpack/ForemanInventoryUpload/Components/InventoryFilter/index.js
foreman_rh_cloud-3.0.26 webpack/ForemanInventoryUpload/Components/InventoryFilter/index.js
foreman_rh_cloud-4.0.26 webpack/ForemanInventoryUpload/Components/InventoryFilter/index.js
foreman_rh_cloud-4.0.25.1 webpack/ForemanInventoryUpload/Components/InventoryFilter/index.js
foreman_rh_cloud-3.0.25 webpack/ForemanInventoryUpload/Components/InventoryFilter/index.js
foreman_rh_cloud-4.0.25 webpack/ForemanInventoryUpload/Components/InventoryFilter/index.js
foreman_rh_cloud-3.0.24.1 webpack/ForemanInventoryUpload/Components/InventoryFilter/index.js
foreman_rh_cloud-4.0.24.1 webpack/ForemanInventoryUpload/Components/InventoryFilter/index.js