Render the price cell and leave Konto empty without an account

This commit is contained in:
ai-bot committed 2026-11-14 18:21:21 +00:00
1 parent 645fe4e558
commit 8719ed2d46
1 file changed
+8 -1
+8 -1
View File
@@ -114,8 +114,15 @@
+ (transaction.generated ? " (laga automatisk)" : ""), + (transaction.generated ? " (laga automatisk)" : ""),
"" ""
); );
cell(row, transaction.market_name, ""); cell(row, transaction.market_name || "", "");
cell(row, transaction.to_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_in_sats, transaction.leg_in_ore), "numeric");
cell(row, amount(transaction.leg_out_sats, transaction.leg_out_ore), "numeric"); cell(row, amount(transaction.leg_out_sats, transaction.leg_out_ore), "numeric");
cell(row, amount(transaction.fee_sats, transaction.fee_ore), "numeric"); cell(row, amount(transaction.fee_sats, transaction.fee_ore), "numeric");