diff --git a/static/transactions.js b/static/transactions.js index 99e6a2a..a648e88 100644 --- a/static/transactions.js +++ b/static/transactions.js @@ -114,8 +114,15 @@ + (transaction.generated ? " (laga automatisk)" : ""), "" ); - cell(row, transaction.market_name, ""); + cell(row, transaction.market_name || "", ""); cell(row, transaction.to_market_name || "", ""); + cell( + row, + transaction.btc_price_ore + ? Skuld.formatKroner(transaction.btc_price_ore) + : "", + "numeric" + ); cell(row, amount(transaction.leg_in_sats, transaction.leg_in_ore), "numeric"); cell(row, amount(transaction.leg_out_sats, transaction.leg_out_ore), "numeric"); cell(row, amount(transaction.fee_sats, transaction.fee_ore), "numeric");