fix wiz spa casing
This commit is contained in:
parent
e3487e8e46
commit
d1c3d4e4a4
2 changed files with 5 additions and 6 deletions
|
|
@ -45,7 +45,6 @@
|
|||
|
||||
<div class="checkbox" style="margin-top: 12px">
|
||||
<input type="checkbox" id="customCheckbox" />
|
||||
<div class="checkbox-shape"></div>
|
||||
<label for="customCheckbox">
|
||||
Use the default managed relay service and auto-pay 1000 sats
|
||||
per month to support developers
|
||||
|
|
|
|||
|
|
@ -122,21 +122,21 @@ $(() => {
|
|||
} else {
|
||||
// Pre-populate from service state
|
||||
fetch("/wizard/service-state").then(res => res.json()).then(state => {
|
||||
nodeNameInput.val(state.source_name);
|
||||
if (state.relay_url === 'wss://relay.lightning.pub') {
|
||||
nodeNameInput.val(state.sourceName);
|
||||
if (state.relayUrl === 'wss://relay.lightning.pub') {
|
||||
customCheckbox.prop('checked', true);
|
||||
} else {
|
||||
relayUrlInput.val(state.relay_url);
|
||||
relayUrlInput.val(state.relayUrl);
|
||||
}
|
||||
syncRelayState();
|
||||
|
||||
if (state.automate_liquidity) {
|
||||
if (state.automateLiquidity) {
|
||||
automateLiquidityRadio.prop('checked', true);
|
||||
} else {
|
||||
manualLiquidityRadio.prop('checked', true);
|
||||
}
|
||||
|
||||
if (state.push_backups_to_nostr) {
|
||||
if (state.pushBackupsToNostr) {
|
||||
backupNostrRadio.prop('checked', true);
|
||||
} else {
|
||||
manualBackupRadio.prop('checked', true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue