Skip to content

Commit

Permalink
feat: show cash-out fixed fee
Browse files Browse the repository at this point in the history
  • Loading branch information
siiky authored and RafaelTaranto committed Nov 28, 2024
1 parent 5241276 commit c5254ae
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ui/src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,10 @@ function processData (data) {
if (data.cassettes) buildCassetteButtons(data.cassettes, NUMBER_OF_BUTTONS)
if (data.readingBills) readingBills(data.readingBills)
if (data.cryptoCode) translateCoin(data.cryptoCode)
if (data.tx && data.tx.cashInFee) setFixedFee(data.tx.cashInFee)
if (data.tx) {
if (data.tx.cashInFee) setFixedFee(data.tx.cashInFee)
else if (data.tx.cashOutFee) setFixedFee(data.tx.cashOutFee)
}
if (data.terms) setTermsScreen(data.terms)
if (data.dispenseBatch) dispenseBatch(data.dispenseBatch)
if (data.direction) setDirection(data.direction)
Expand Down

0 comments on commit c5254ae

Please sign in to comment.