diff --git a/app/static/admin.html b/app/static/admin.html index fef3aa1..b2a25c5 100644 --- a/app/static/admin.html +++ b/app/static/admin.html @@ -211,6 +211,8 @@ + + @@ -391,6 +393,7 @@ async function adminLoadConfig() { document.getElementById('admin-bet-amount').value = data.bet_amount_sats / SATS_PER_PLM; document.getElementById('admin-round-duration').value = data.round_duration_seconds; document.getElementById('admin-round-cooldown').value = data.round_cooldown_seconds; + document.getElementById('admin-draw-animation').value = data.draw_animation_seconds; document.getElementById('admin-min-amount').value = data.min_amount_sats / SATS_PER_PLM; document.getElementById('admin-fee-rate').value = data.fee_rate_sat_vb; document.getElementById('admin-rbf-timeout').value = data.rbf_timeout_seconds; @@ -409,6 +412,7 @@ async function adminSave() { bet_amount_sats: Math.round(betAmountPlm * SATS_PER_PLM), round_duration_seconds: parseInt(document.getElementById('admin-round-duration').value, 10), round_cooldown_seconds: parseInt(document.getElementById('admin-round-cooldown').value, 10), + draw_animation_seconds: parseInt(document.getElementById('admin-draw-animation').value, 10), min_amount_sats: Math.round(minAmountPlm * SATS_PER_PLM), fee_rate_sat_vb: parseInt(document.getElementById('admin-fee-rate').value, 10), rbf_timeout_seconds: parseInt(document.getElementById('admin-rbf-timeout').value, 10),