Sha256: 37cbbc1029b6b1c042dc042afa0656ce3ca55d84eb752334a76ba8cbf1ceac96

Contents?: true

Size: 682 Bytes

Versions: 16

Compression:

Stored size: 682 Bytes

Contents

import { bindActionCreators } from 'redux';
import { connect } from 'react-redux';
import TasksDashboard from './TasksDashboard';
import * as actions from './TasksDashboardActions';
import reducer from './TasksDashboardReducer';
import {
  selectTime,
  selectQuery,
  selectTasksSummary,
} from './TasksDashboardSelectors';

const mapStateToProps = state => ({
  time: selectTime(state),
  query: selectQuery(state),
  tasksSummary: selectTasksSummary(state),
});

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

export const reducers = { tasksDashboard: reducer };

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

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
foreman-tasks-0.16.3 webpack/ForemanTasks/Components/TasksDashboard/index.js
foreman-tasks-0.17.1 webpack/ForemanTasks/Components/TasksDashboard/index.js
foreman-tasks-0.15.11 webpack/ForemanTasks/Components/TasksDashboard/index.js
foreman-tasks-0.16.2 webpack/ForemanTasks/Components/TasksDashboard/index.js
foreman-tasks-0.15.10 webpack/ForemanTasks/Components/TasksDashboard/index.js
foreman-tasks-0.16.1 webpack/ForemanTasks/Components/TasksDashboard/index.js
foreman-tasks-0.17.0 webpack/ForemanTasks/Components/TasksDashboard/index.js
foreman-tasks-0.15.9 webpack/ForemanTasks/Components/TasksDashboard/index.js
foreman-tasks-0.15.8 webpack/ForemanTasks/Components/TasksDashboard/index.js
foreman-tasks-0.15.7 webpack/ForemanTasks/Components/TasksDashboard/index.js
foreman-tasks-0.16.0 webpack/ForemanTasks/Components/TasksDashboard/index.js
foreman-tasks-0.15.6 webpack/ForemanTasks/Components/TasksDashboard/index.js
foreman-tasks-0.15.5 webpack/ForemanTasks/Components/TasksDashboard/index.js
foreman-tasks-0.15.4 webpack/ForemanTasks/Components/TasksDashboard/index.js
foreman-tasks-0.15.3 webpack/ForemanTasks/Components/TasksDashboard/index.js
foreman-tasks-0.15.2 webpack/ForemanTasks/Components/TasksDashboard/index.js