fix: dashboard graph dataplots going off grid

fix: inconsistencies between eligible transactions on graphs
This commit is contained in:
Sérgio Salgado 2022-06-01 17:29:29 +01:00
parent d5ddf5f74f
commit 10ac63cc6c
3 changed files with 35 additions and 28 deletions

View file

@ -174,7 +174,9 @@ const Analytics = () => {
R.map(convertFiatToLocale)(
transactions?.filter(
tx =>
(!tx.dispensed || !tx.expired) && (tx.sendConfirmed || tx.dispense)
(!tx.dispensed || !tx.expired) &&
(tx.sendConfirmed || tx.dispense) &&
!tx.hasError
)
) ?? []