Set the stored accounts once the choices are built

This commit is contained in:
ai-bot committed 2026-11-16 19:35:36 +00:00
1 parent 940e44c937
commit 9f42c41673
1 file changed
+6
+6
View File
@@ -505,6 +505,12 @@
if (transaction.fee_sats) { if (transaction.fee_sats) {
Skuld.setFieldValue("fee", Skuld.formatSats(transaction.fee_sats)); Skuld.setFieldValue("fee", Skuld.formatSats(transaction.fee_sats));
} }
// The choices depend on the type and the currency, so they are built from the
// stored row and only then filled in.
fillMarketSelects();
if (transaction.market_id) {
Skuld.setFieldValue("market_id", String(transaction.market_id));
}
if (transaction.to_market_id) { if (transaction.to_market_id) {
Skuld.setFieldValue("to_market", String(transaction.to_market_id)); Skuld.setFieldValue("to_market", String(transaction.to_market_id));
} }