Use !configured to disable LNC default checkbox (#1117)
This commit is contained in:
parent
1039cd7586
commit
4be54b74df
|
@ -83,7 +83,7 @@ export default function LNC () {
|
||||||
hint='encrypts your pairing phrase when stored locally'
|
hint='encrypts your pairing phrase when stored locally'
|
||||||
/>
|
/>
|
||||||
<ClientCheckbox
|
<ClientCheckbox
|
||||||
disabled={status !== Status.Enabled || isDefault || enabledProviders?.length === 1}
|
disabled={!configured || isDefault || enabledProviders?.length === 1}
|
||||||
initialValue={isDefault}
|
initialValue={isDefault}
|
||||||
label='default payment method'
|
label='default payment method'
|
||||||
name='isDefault'
|
name='isDefault'
|
||||||
|
|
Loading…
Reference in New Issue