Sha256: a36bf9205dcc11e1f10ff8b29b1ed5db6994756f16ed3992f75d4c432bca6802

Contents?: true

Size: 676 Bytes

Versions: 76

Compression:

Stored size: 676 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

76 entries across 76 versions & 1 rubygems

Version Path
foreman-tasks-10.0.2 webpack/ForemanTasks/Components/TasksDashboard/index.js
foreman-tasks-10.0.1 webpack/ForemanTasks/Components/TasksDashboard/index.js
foreman-tasks-10.0.0 webpack/ForemanTasks/Components/TasksDashboard/index.js
foreman-tasks-9.2.3 webpack/ForemanTasks/Components/TasksDashboard/index.js
foreman-tasks-9.2.2 webpack/ForemanTasks/Components/TasksDashboard/index.js
foreman-tasks-9.2.1 webpack/ForemanTasks/Components/TasksDashboard/index.js
foreman-tasks-9.2.0 webpack/ForemanTasks/Components/TasksDashboard/index.js
foreman-tasks-9.1.1 webpack/ForemanTasks/Components/TasksDashboard/index.js
foreman-tasks-9.0.4 webpack/ForemanTasks/Components/TasksDashboard/index.js
foreman-tasks-9.1.0 webpack/ForemanTasks/Components/TasksDashboard/index.js
foreman-tasks-9.0.2 webpack/ForemanTasks/Components/TasksDashboard/index.js
foreman-tasks-9.0.1 webpack/ForemanTasks/Components/TasksDashboard/index.js
foreman-tasks-8.3.3 webpack/ForemanTasks/Components/TasksDashboard/index.js
foreman-tasks-9.0.0 webpack/ForemanTasks/Components/TasksDashboard/index.js
foreman-tasks-8.2.1 webpack/ForemanTasks/Components/TasksDashboard/index.js
foreman-tasks-8.1.4 webpack/ForemanTasks/Components/TasksDashboard/index.js
foreman-tasks-8.3.2 webpack/ForemanTasks/Components/TasksDashboard/index.js
foreman-tasks-8.3.1 webpack/ForemanTasks/Components/TasksDashboard/index.js
foreman-tasks-8.1.3 webpack/ForemanTasks/Components/TasksDashboard/index.js
foreman-tasks-8.3.0 webpack/ForemanTasks/Components/TasksDashboard/index.js