Sha256: 6da012cd022c7f735fe6c9e402eaef794e6fa4672dcdae7a0e4e55d164142883

Contents?: true

Size: 843 Bytes

Versions: 160

Compression:

Stored size: 843 Bytes

Contents

import { bindActionCreators } from 'redux';
import { connect } from 'react-redux';
import { withRouter } from 'react-router-dom';
import reducer from './SubscriptionDetailReducer';
import { loadProducts } from '../../Products/ProductActions';
import * as subscriptionDetailActions from './SubscriptionDetailActions';
import SubscriptionDetails from './SubscriptionDetails';

// map state to props
const mapStateToProps = state => ({
  subscriptionDetails: state.katello.subscriptionDetails,
});

// map action dispatchers to props
const actions = { ...subscriptionDetailActions, loadProducts };
const mapDispatchToProps = dispatch => bindActionCreators(actions, dispatch);

export const subscriptionDetails = reducer;

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

Version data entries

160 entries across 160 versions & 1 rubygems

Version Path
katello-4.14.2 webpack/scenes/Subscriptions/Details/index.js
katello-4.15.0 webpack/scenes/Subscriptions/Details/index.js
katello-4.15.0.rc2 webpack/scenes/Subscriptions/Details/index.js
katello-4.15.0.rc1 webpack/scenes/Subscriptions/Details/index.js
katello-4.14.1 webpack/scenes/Subscriptions/Details/index.js
katello-4.14.0 webpack/scenes/Subscriptions/Details/index.js
katello-4.14.0.rc3 webpack/scenes/Subscriptions/Details/index.js
katello-4.14.0.rc2 webpack/scenes/Subscriptions/Details/index.js
katello-4.14.0.rc1.1 webpack/scenes/Subscriptions/Details/index.js
katello-4.14.0.rc1 webpack/scenes/Subscriptions/Details/index.js
katello-4.13.1 webpack/scenes/Subscriptions/Details/index.js
katello-4.13.0 webpack/scenes/Subscriptions/Details/index.js
katello-4.12.1 webpack/scenes/Subscriptions/Details/index.js
katello-4.13.0.rc1 webpack/scenes/Subscriptions/Details/index.js
katello-4.12.0 webpack/scenes/Subscriptions/Details/index.js
katello-4.12.0.rc3 webpack/scenes/Subscriptions/Details/index.js
katello-4.12.0.rc2 webpack/scenes/Subscriptions/Details/index.js
katello-4.12.0.rc1 webpack/scenes/Subscriptions/Details/index.js
katello-4.11.1 webpack/scenes/Subscriptions/Details/index.js
katello-4.11.0 webpack/scenes/Subscriptions/Details/index.js