Skip to content

Commit 5bdd048

Browse files
nkdengineerc3024
andauthored
Update src/libs/ReportUtils.ts
Co-authored-by: c3024 <102477862+c3024@users.noreply.github.com>
1 parent d4093c8 commit 5bdd048

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/libs/ReportUtils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10601,7 +10601,7 @@ function doesReportContainRequestsFromMultipleUsers(iouReport: OnyxEntry<Report>
1060110601
*/
1060210602
function isWorkspaceEligibleForReportChange(newPolicy: OnyxEntry<Policy>, report: OnyxEntry<Report>, policies: OnyxCollection<Policy>): boolean {
1060310603
const submitterEmail = getLoginByAccountID(report?.ownerAccountID ?? CONST.DEFAULT_NUMBER_ID);
10604-
const managerLogin = report?.managerID && getLoginByAccountID(report?.managerID);
10604+
const managerLogin = getLoginByAccountID(report?.managerID ?? CONST.DEFAULT_NUMBER_ID);
1060510605
// We can't move the iou report to the workspace if both users from the iou report create the expense
1060610606
if (doesReportContainRequestsFromMultipleUsers(report)) {
1060710607
return false;

0 commit comments

Comments
 (0)