Skip to content

Commit d4093c8

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

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
@@ -10609,7 +10609,7 @@ function isWorkspaceEligibleForReportChange(newPolicy: OnyxEntry<Policy>, report
1060910609

1061010610
// We can only move the iou report to the workspace if the manager is the payer of the new policy
1061110611
if (isIOUReport(report)) {
10612-
return isPaidGroupPolicyPolicyUtils(newPolicy) && isWorkspacePayer(managerLogin?.toString() ?? '', newPolicy);
10612+
return isPaidGroupPolicyPolicyUtils(newPolicy) && isWorkspacePayer(managerLogin ?? '', newPolicy);
1061310613
}
1061410614
return isPaidGroupPolicyPolicyUtils(newPolicy) && (isPolicyMember(submitterEmail, newPolicy?.id) || isPolicyAdmin(newPolicy?.id, policies));
1061510615
}

0 commit comments

Comments
 (0)