We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d4093c8 commit 5bdd048Copy full SHA for 5bdd048
1 file changed
src/libs/ReportUtils.ts
@@ -10601,7 +10601,7 @@ function doesReportContainRequestsFromMultipleUsers(iouReport: OnyxEntry<Report>
10601
*/
10602
function isWorkspaceEligibleForReportChange(newPolicy: OnyxEntry<Policy>, report: OnyxEntry<Report>, policies: OnyxCollection<Policy>): boolean {
10603
const submitterEmail = getLoginByAccountID(report?.ownerAccountID ?? CONST.DEFAULT_NUMBER_ID);
10604
- const managerLogin = report?.managerID && getLoginByAccountID(report?.managerID);
+ const managerLogin = getLoginByAccountID(report?.managerID ?? CONST.DEFAULT_NUMBER_ID);
10605
// We can't move the iou report to the workspace if both users from the iou report create the expense
10606
if (doesReportContainRequestsFromMultipleUsers(report)) {
10607
return false;
0 commit comments