fix: don't filter transactions in recent transactions

This commit is contained in:
Sean Yesmunt 2018-11-01 18:16:14 -04:00
parent 209bcda5a4
commit c4adce2524

View file

@ -48,6 +48,11 @@ class TransactionList extends React.PureComponent<Props> {
}
filterTransaction(transaction: Transaction) {
// The shorter "recent transactions" list shouldn't be filtered
if (this.props.slim) {
return transaction;
}
return (
this.props.filterSetting === TRANSACTIONS.ALL || this.props.filterSetting === transaction.type
);