Skip to content

Commit

Permalink
Merge pull request #1554 from oasisprotocol/mz/swapCol
Browse files Browse the repository at this point in the history
Swap fee and amount columns in txs tables
  • Loading branch information
buberdds authored Sep 25, 2024
2 parents 807a10c + 58d3454 commit b45547a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions .changelog/1554.bugfix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Swap fee and amount columns in txs tables
10 changes: 5 additions & 5 deletions src/app/components/Transactions/RuntimeTransactions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ export const RuntimeTransactions: FC<TransactionsProps> = ({
{ key: 'type', content: t('common.type') },
{ key: 'from', content: t('common.from'), width: '150px' },
{ key: 'to', content: t('common.to'), width: '150px' },
{ key: 'txnFee', content: t('common.fee'), align: TableCellAlign.Right, width: '250px' },
{ key: 'value', align: TableCellAlign.Right, content: t('common.amount'), width: '250px' },
{ key: 'txnFee', content: t('common.fee'), align: TableCellAlign.Right, width: '250px' },
]
: []),
]
Expand Down Expand Up @@ -146,13 +146,13 @@ export const RuntimeTransactions: FC<TransactionsProps> = ({
},
{
align: TableCellAlign.Right,
content: <RoundedBalance value={transaction.charged_fee} ticker={transaction.fee_symbol} />,
key: 'fee_amount',
content: <RoundedBalance value={transaction.amount} ticker={transaction.amount_symbol} />,
key: 'value',
},
{
align: TableCellAlign.Right,
content: <RoundedBalance value={transaction.amount} ticker={transaction.amount_symbol} />,
key: 'value',
content: <RoundedBalance value={transaction.charged_fee} ticker={transaction.fee_symbol} />,
key: 'fee_amount',
},
]
: []),
Expand Down

0 comments on commit b45547a

Please sign in to comment.