Rc fixes #2085
1 changed files with 5 additions and 0 deletions
|
@ -48,6 +48,11 @@ class TransactionList extends React.PureComponent<Props> {
|
||||||
}
|
}
|
||||||
|
|
||||||
filterTransaction(transaction: Transaction) {
|
filterTransaction(transaction: Transaction) {
|
||||||
|
// The shorter "recent transactions" list shouldn't be filtered
|
||||||
|
if (this.props.slim) {
|
||||||
|
return transaction;
|
||||||
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
this.props.filterSetting === TRANSACTIONS.ALL || this.props.filterSetting === transaction.type
|
this.props.filterSetting === TRANSACTIONS.ALL || this.props.filterSetting === transaction.type
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Reference in a new issue