Set the stored accounts once the choices are built
This commit is contained in:
1 parent
940e44c937
commit
9f42c41673
1 file changed
+6
@@ -505,6 +505,12 @@
|
||||
if (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) {
|
||||
Skuld.setFieldValue("to_market", String(transaction.to_market_id));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user