Skip to content

Commit

Permalink
clients/web: add dispute platform fee type display name
Browse files Browse the repository at this point in the history
  • Loading branch information
frankie567 committed Jan 3, 2025
1 parent 5fe1ac0 commit 7d284c9
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ const TransactionMeta: React.FC<TransactionMetaProps> = ({ transaction }) => {
<>
<div>
<Link
className=" text-blue-500 dark:text-blue-400"
className="text-blue-500 dark:text-blue-400"
href={`/${transactionMeta.organization?.slug}/products/${transactionMeta.meta.product.id}`}
>
<ProductPill
Expand All @@ -117,7 +117,7 @@ const TransactionMeta: React.FC<TransactionMetaProps> = ({ transaction }) => {
{'issue' in transactionMeta.meta && (
<div>
<Link
className=" text-blue-500 dark:text-blue-400"
className="text-blue-500 dark:text-blue-400"
href={`/${transactionMeta.meta.issue.organization?.name}/${transactionMeta.meta.issue.repository.name}/issues/${transactionMeta.meta.issue.number}`}
>
{transactionMeta.meta.issue.title}
Expand All @@ -141,6 +141,7 @@ export const platformFeesDisplayNames: {
[PlatformFeeType.CROSS_BORDER_TRANSFER]: 'Cross-border transfer payout fee',
[PlatformFeeType.PAYOUT]: 'Payout fee',
[PlatformFeeType.ACCOUNT]: 'Active payout account fee',
[PlatformFeeType.DISPUTE]: 'Dispute fee',
[PlatformFeeType.PLATFORM]: 'Polar fee',
}

Expand Down

0 comments on commit 7d284c9

Please sign in to comment.