Skip to content

Commit

Permalink
fix: [IOBP-1169] Psp order logic (#6658)
Browse files Browse the repository at this point in the history
## Short description
Hot fix for the psp list sorting
  • Loading branch information
LeleDallas authored Jan 30, 2025
1 parent d9d14cf commit bbc03d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ts/features/payments/common/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,8 @@ export const getSortedPspList = (
default:
return _.orderBy(
pspList,
["onUs", "taxPayerFee", "pspBusinessName"],
["asc", "asc", "asc"]
[psp => (psp.onUs ? 1 : 0), "taxPayerFee", "pspBusinessName"],
["desc", "asc", "asc"]
);
}
};
Expand Down

0 comments on commit bbc03d2

Please sign in to comment.