Refactor mapping of curated options from meta.
This commit is contained in:
@@ -1037,7 +1037,7 @@ export class TransactionsComponent implements OnInit, AfterViewInit {
|
||||
});
|
||||
} else {
|
||||
this.transactionDataSource.data = this.transactions.filter(
|
||||
(transaction) => transaction.type === this.transactionsType
|
||||
(transaction) => transaction.type + 's' === this.transactionsType
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user