From 861118b7274e0fecdc9a64033b01431e9df7a5a5 Mon Sep 17 00:00:00 2001 From: Ishpaul Singh Date: Wed, 13 Mar 2024 18:25:57 +0530 Subject: [PATCH] remove unnecessary chnages --- src/pages/workspace/workflows/WorkspaceWorkflowsPayerPage.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/pages/workspace/workflows/WorkspaceWorkflowsPayerPage.tsx b/src/pages/workspace/workflows/WorkspaceWorkflowsPayerPage.tsx index 8762555c49e9..6da120f95766 100644 --- a/src/pages/workspace/workflows/WorkspaceWorkflowsPayerPage.tsx +++ b/src/pages/workspace/workflows/WorkspaceWorkflowsPayerPage.tsx @@ -109,7 +109,7 @@ function WorkspaceWorkflowsPayerPage({route, policy, policyMembers, personalDeta pendingAction: policyMember.pendingAction ?? isAuthorizedPayer ? policy?.pendingFields?.reimburserEmail : null, }; - if (policy?.reimburserEmail === details?.login) { + if (policy?.reimburserEmail === details?.login ?? policy?.reimburserAccountID === accountID) { authorizedPayerDetails.push(formattedMember); } else { policyAdminDetails.push(formattedMember); @@ -147,7 +147,6 @@ function WorkspaceWorkflowsPayerPage({route, policy, policyMembers, personalDeta } sectionsArray.push({ - title: undefined, data: formattedAuthorizedPayer, shouldShow: true, indexOffset: 0,