webpack/ForemanTasks/Components/TaskDetails/index.js in foreman-tasks-2.0.1 vs webpack/ForemanTasks/Components/TaskDetails/index.js in foreman-tasks-2.0.2
- old
+ new
@@ -30,10 +30,11 @@
selectTimeoutId,
selectTaskReload,
selectParentTask,
selectExternalId,
selectDynflowEnableConsole,
+ selectCanEdit,
} from './TaskDetailsSelectors';
const mapStateToProps = state => ({
startAt: selectStartAt(state),
startBefore: selectStartBefore(state),
@@ -60,9 +61,10 @@
timeoutId: selectTimeoutId(state),
taskReload: selectTaskReload(state),
parentTask: selectParentTask(state),
externalId: selectExternalId(state),
dynflowEnableConsole: selectDynflowEnableConsole(state),
+ canEdit: selectCanEdit(state),
});
const mapDispatchToProps = dispatch =>
bindActionCreators({ ...taskActions, ...taskDetailsActions }, dispatch);