webpack/ForemanTasks/Components/TasksTable/TasksBulkActions.js in foreman-tasks-7.2.0 vs webpack/ForemanTasks/Components/TasksTable/TasksBulkActions.js in foreman-tasks-7.2.1
- old
+ new
@@ -51,11 +51,11 @@
const handleErrorResume = (error, dispatch) => {
dispatch({ type: TASKS_RESUME_FAILURE, error });
dispatch(
addToast(
- errorToastData(`${__(`Cannot resume tasks at the moment`)} ${error}`)
+ errorToastData(`${__('Cannot resume tasks at the moment')} ${error}`)
)
);
};
export const bulkResumeById = ({
@@ -110,11 +110,11 @@
const handleErrorCancel = (error, dispatch) => {
dispatch({ type: TASKS_CANCEL_FAILURE, error });
dispatch(
addToast(
- errorToastData(`${__(`Cannot cancel tasks at the moment`)} ${error}`)
+ errorToastData(`${__('Cannot cancel tasks at the moment')} ${error}`)
)
);
};
export const bulkCancelBySearch = ({
@@ -173,10 +173,10 @@
const handleErrorForceCancel = (error, dispatch) => {
dispatch({ type: TASKS_FORCE_CANCEL_FAILURE, error });
dispatch(
addToast(
errorToastData(
- `${__(`Cannot force cancel tasks at the moment`)} ${error}`
+ `${__('Cannot force cancel tasks at the moment')} ${error}`
)
)
);
};