Use !configured to disable LNC default checkbox (#1117)

This commit is contained in:
ekzyis 2024-04-28 20:03:37 +02:00 committed by GitHub
parent 1039cd7586
commit 4be54b74df
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ export default function LNC () {
hint='encrypts your pairing phrase when stored locally'
/>
<ClientCheckbox
disabled={status !== Status.Enabled || isDefault || enabledProviders?.length === 1}
disabled={!configured || isDefault || enabledProviders?.length === 1}
initialValue={isDefault}
label='default payment method'
name='isDefault'