Refactor mapping of curated options from meta.

This commit is contained in:
Spencer Ofwiti
2021-06-23 07:18:28 +00:00
parent a69213dab2
commit 5e8e0f7209
62 changed files with 4228 additions and 4702 deletions

View File

@@ -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
);
}
}