diff --git a/webpack/ForemanTasks/Components/TaskDetails/TaskDetailsActions.js b/webpack/ForemanTasks/Components/TaskDetails/TaskDetailsActions.js index 9b491d213..46078e90d 100644 --- a/webpack/ForemanTasks/Components/TaskDetails/TaskDetailsActions.js +++ b/webpack/ForemanTasks/Components/TaskDetails/TaskDetailsActions.js @@ -42,7 +42,9 @@ export const cancelStep = (taskId, stepId) => async dispatch => { key: TASK_STEP_CANCEL, url: foremanTasksPath(`${taskId}/cancel_step?step_id=${stepId}`), handleSuccess: () => { - dispatch(addToast(successToastData(`${stepId} {__('Step Canceled')}`))); + dispatch( + addToast(successToastData(`${stepId} ${__('Step Canceled')}`)) + ); }, handleError: error => { dispatch(