add card last 4 to transaction history

This commit is contained in:
Anthony 2021-07-29 14:22:46 +02:00
parent 83531b22db
commit 39143227ef
No known key found for this signature in database
GPG key ID: C386D3C93D50E356

View file

@ -459,6 +459,7 @@ class SettingsStripeCard extends React.Component<Props, State> {
<th>{<>{__('Receiving Channel Name')}</>}</th>
<th>{__('Tip Location')}</th>
<th>{__('Amount (USD)')} </th>
<th>{__('Card Last 4')}</th>
<th>{__('Anonymous')}</th>
</tr>
</thead>
@ -488,6 +489,7 @@ class SettingsStripeCard extends React.Component<Props, State> {
/>
</td>
<td>${transaction.tipped_amount / 100}</td>
<td>{userCardDetails && userCardDetails.lastFour}</td>
<td>{transaction.private_tip ? 'Yes' : 'No'}</td>
</tr>
))}