mirror of
https://github.com/getAlby/hub.git
synced 2026-08-13 12:33:39 +02:00
fix: allow disabling JIT channels when no liquidity source exists
This commit is contained in:
parent
e4adbc19c6
commit
eaff564de1
1 changed files with 1 additions and 1 deletions
|
|
@ -69,7 +69,7 @@ export function NodeSettings() {
|
|||
<Switch
|
||||
id="jit-channels"
|
||||
checked={info.jitChannelsEnabled}
|
||||
disabled={!hasJitSource}
|
||||
disabled={!hasJitSource && !info.jitChannelsEnabled}
|
||||
onCheckedChange={setJitChannelsEnabled}
|
||||
/>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue