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