From 8719ed2d46a4a2046b8f54dd4471998a623de8c8 Mon Sep 17 00:00:00 2001 From: ai-bot Date: Sat, 14 Nov 2026 18:21:21 +0000 Subject: [PATCH] Render the price cell and leave Konto empty without an account --- static/transactions.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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");