fix: wrong property was being used to determine if a tx was cash-in or

cash-out on the transactions page, resulting in wrong cash-out status on
the page
This commit is contained in:
Liordino Neto 2020-10-27 18:32:18 -03:00 committed by Josh Harvey
parent e09c972547
commit 6ec629fdcd

View file

@ -14,7 +14,7 @@ const getCashInStatus = it => {
} }
const getStatus = it => { const getStatus = it => {
if (it.class === 'cashOut') { if (it.txClass === 'cashOut') {
return getCashOutStatus(it) return getCashOutStatus(it)
} }
return getCashInStatus(it) return getCashInStatus(it)