Skip to content

Commit

Permalink
Merge pull request #47692 from nkdengineer/fix/47680
Browse files Browse the repository at this point in the history
[CP staging] fix: Error while task creation via QAB when assigning task to yourself
  • Loading branch information
techievivek authored Aug 20, 2024
2 parents ea13761 + 894cbdd commit a32da40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/actions/Task.ts
Original file line number Diff line number Diff line change
Expand Up @@ -834,7 +834,7 @@ function clearOutTaskInfoAndNavigate(reportID?: string, chatReport?: OnyxEntry<O
}
if (accountID > 0) {
const accountLogin = allPersonalDetails?.[accountID]?.login ?? '';
setAssigneeValue(accountLogin, accountID, reportID, chatReport, false, skipConfirmation);
setAssigneeValue(accountLogin, accountID, reportID, chatReport, accountID === currentUserAccountID, skipConfirmation);
}
Navigation.navigate(ROUTES.NEW_TASK_DETAILS);
}
Expand Down

0 comments on commit a32da40

Please sign in to comment.