Skip to content

Commit e1ac497

Browse files
committed
Skip policyID check in hasInProgressVBBA when caller has no policy context
1 parent 139b2c8 commit e1ac497

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/libs/ReimbursementAccountUtils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ function getBankAccountIDAsNumber(achData?: ACHDataReimbursementAccount): number
3535

3636
/** Returns true if VBBA flow is in progress */
3737
const hasInProgressVBBA = (achData?: ACHDataReimbursementAccount, isNonUSDWorkspace?: boolean, policyID?: string) => {
38-
if (achData?.policyID !== policyID) {
38+
if (policyID && achData?.policyID !== policyID) {
3939
return false;
4040
}
4141

0 commit comments

Comments
 (0)