From a080e10914b978bb95ba3c22d8c6de8552adc53e Mon Sep 17 00:00:00 2001 From: Chirag Chandrakant Salian Date: Wed, 22 May 2024 12:47:27 -0700 Subject: [PATCH] Merge pull request #42359 from bernhardoj/fix/42351-use-parsed-description-for-onboarding-task [CP Staging] Fix onboarding task description isn't parsed as markdown (cherry picked from commit 0aeff13e11cdd633675165b0857707e902a541f9) --- src/libs/actions/Report.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libs/actions/Report.ts b/src/libs/actions/Report.ts index 8d337df4feba..eba2b7c43ef3 100644 --- a/src/libs/actions/Report.ts +++ b/src/libs/actions/Report.ts @@ -3142,7 +3142,7 @@ function completeOnboarding( currentTask, taskCreatedAction, taskReportAction, - taskDescription, + taskDescription: currentTask.description, completedTaskReportAction, }; }); @@ -3157,7 +3157,7 @@ function completeOnboarding( createdTaskReportActionID: taskCreatedAction.reportActionID, completedTaskReportActionID: completedTaskReportAction?.reportActionID ?? undefined, title: currentTask.reportName ?? '', - description: taskDescription, + description: taskDescription ?? '', })); const tasksForOptimisticData = tasksData.reduce((acc, {currentTask, taskCreatedAction, taskReportAction, taskDescription, completedTaskReportAction}) => {