diff --git a/src/pages/workspace/workflows/WorkspaceWorkflowsPage.tsx b/src/pages/workspace/workflows/WorkspaceWorkflowsPage.tsx index 37fad70d3dae..2d305d25751d 100644 --- a/src/pages/workspace/workflows/WorkspaceWorkflowsPage.tsx +++ b/src/pages/workspace/workflows/WorkspaceWorkflowsPage.tsx @@ -83,11 +83,11 @@ function WorkspaceWorkflowsPage({policy, betas, route, session}: WorkspaceWorkfl }, []); const optionItems: ToggleSettingOptionRowProps[] = useMemo(() => { - const {accountNumber, addressName} = policy?.achAccount ?? {}; + const {accountNumber, addressName, bankName} = policy?.achAccount ?? {}; const hasVBA = !!policy?.achAccount; - let bankDisplayName = addressName; + let bankDisplayName = bankName || addressName; if (accountNumber && bankDisplayName !== accountNumber) { - bankDisplayName += accountNumber.slice(-5); + bankDisplayName += ' ' + accountNumber.slice(-5); } const hasReimburserEmailError = !!policy?.errorFields?.reimburserEmail; const hasApprovalError = !!policy?.errorFields?.approvalMode;