Skip to content

Commit

Permalink
Revert one change
Browse files Browse the repository at this point in the history
  • Loading branch information
mountiny committed Nov 19, 2024
1 parent 7dda715 commit f7f8372
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libs/ReportUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7308,6 +7308,7 @@ function getReportOfflinePendingActionAndErrors(report: OnyxEntry<Report>): Repo
*/
function canCreateRequest(report: OnyxEntry<Report>, policy: OnyxEntry<Policy>, iouType: ValueOf<typeof CONST.IOU.TYPE>): boolean {
const participantAccountIDs = Object.keys(report?.participants ?? {}).map(Number);

if (!canUserPerformWriteAction(report)) {
return false;
}
Expand Down

0 comments on commit f7f8372

Please sign in to comment.