Skip to content

Commit

Permalink
Merge pull request #42359 from bernhardoj/fix/42351-use-parsed-descri…
Browse files Browse the repository at this point in the history
…ption-for-onboarding-task

[CP Staging] Fix onboarding task description isn't parsed as markdown

(cherry picked from commit 0aeff13)
  • Loading branch information
chiragsalian authored and OSBotify committed May 22, 2024
1 parent 6e06a60 commit a080e10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libs/actions/Report.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3142,7 +3142,7 @@ function completeOnboarding(
currentTask,
taskCreatedAction,
taskReportAction,
taskDescription,
taskDescription: currentTask.description,
completedTaskReportAction,
};
});
Expand All @@ -3157,7 +3157,7 @@ function completeOnboarding(
createdTaskReportActionID: taskCreatedAction.reportActionID,
completedTaskReportActionID: completedTaskReportAction?.reportActionID ?? undefined,
title: currentTask.reportName ?? '',
description: taskDescription,
description: taskDescription ?? '',
}));

const tasksForOptimisticData = tasksData.reduce<OnyxUpdate[]>((acc, {currentTask, taskCreatedAction, taskReportAction, taskDescription, completedTaskReportAction}) => {
Expand Down

0 comments on commit a080e10

Please sign in to comment.