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
  • Loading branch information
chiragsalian authored May 22, 2024
2 parents e8ae3c5 + dadc3b8 commit 0aeff13
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 @@ -3143,7 +3143,7 @@ function completeOnboarding(
currentTask,
taskCreatedAction,
taskReportAction,
taskDescription,
taskDescription: currentTask.description,
completedTaskReportAction,
};
});
Expand All @@ -3158,7 +3158,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 0aeff13

Please sign in to comment.