Rewards marked in txn list
This commit is contained in:
parent
8f1e2ea72b
commit
44f962fe2a
3 changed files with 7 additions and 3 deletions
|
@ -9,10 +9,10 @@ Web UI version numbers should always match the corresponding version of LBRY App
|
|||
## [Unreleased]
|
||||
### Added
|
||||
* Added new window menu options for reloading and help.
|
||||
* Rewards are now marked in transaction history (#660)
|
||||
*
|
||||
|
||||
### Changed
|
||||
*
|
||||
* Replaced all instances of `XMLHttpRequest` with native `Fetch` API.
|
||||
*
|
||||
|
||||
|
|
|
@ -12,4 +12,4 @@ const perform = dispatch => ({
|
|||
navigate: (path, params) => dispatch(doNavigate(path, params)),
|
||||
});
|
||||
|
||||
export default connect(null, perform)(TransactionList);
|
||||
export default connect(select, perform)(TransactionList);
|
||||
|
|
|
@ -6,6 +6,10 @@ import Link from "component/link";
|
|||
import lbryuri from "lbryuri";
|
||||
|
||||
class TransactionListItem extends React.PureComponent {
|
||||
capitalize(string) {
|
||||
return string.charAt(0).toUpperCase() + string.slice(1);
|
||||
}
|
||||
|
||||
render() {
|
||||
const { reward, transaction } = this.props;
|
||||
const {
|
||||
|
@ -60,7 +64,7 @@ class TransactionListItem extends React.PureComponent {
|
|||
/>}
|
||||
</td>
|
||||
<td>
|
||||
{type}
|
||||
{this.capitalize(type)}
|
||||
</td>
|
||||
<td>
|
||||
{reward &&
|
||||
|
|
Loading…
Reference in a new issue