Skip to content

Commit

Permalink
Update src/pages/workspace/workflows/WorkspaceWorkflowsPayerPage.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: Abdelhafidh Belalia <[email protected]>
  • Loading branch information
rlinoz and s77rt authored Apr 3, 2024
1 parent 312acc7 commit d480eaf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ function WorkspaceWorkflowsPayerPage({route, policy, policyMembers, personalDeta
pendingAction: policyMember.pendingAction ?? isAuthorizedPayer ? policy?.pendingFields?.reimburser : null,
};

if (policy?.achAccount?.reimburser === details?.login) {
if (isAuthorizedPayer) {
authorizedPayerDetails.push(formattedMember);
} else {
policyAdminDetails.push(formattedMember);
Expand Down

0 comments on commit d480eaf

Please sign in to comment.