From 82325f941a7f2482e196220e21d2f9c4eeb41792 Mon Sep 17 00:00:00 2001 From: MariaAga Date: Thu, 27 Jun 2024 17:28:47 +0100 Subject: [PATCH] Fixes #37605 - missing formatting in Step Canceled toast --- .../ForemanTasks/Components/TaskDetails/TaskDetailsActions.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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(