fix showing autowithdraw settings on send only wallets
This commit is contained in:
parent
1e68182cda
commit
4e61c19bb3
|
@ -68,9 +68,8 @@ export default function WalletSettings () {
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{wallet && <WalletFields wallet={wallet} />}
|
{wallet && <WalletFields wallet={wallet} />}
|
||||||
{wallet?.walletType
|
{wallet?.clientOnly
|
||||||
? <AutowithdrawSettings wallet={wallet} />
|
? (
|
||||||
: (
|
|
||||||
<CheckboxGroup name='enabled'>
|
<CheckboxGroup name='enabled'>
|
||||||
<Checkbox
|
<Checkbox
|
||||||
disabled={!wallet?.isConfigured}
|
disabled={!wallet?.isConfigured}
|
||||||
|
@ -79,7 +78,8 @@ export default function WalletSettings () {
|
||||||
groupClassName='mb-0'
|
groupClassName='mb-0'
|
||||||
/>
|
/>
|
||||||
</CheckboxGroup>
|
</CheckboxGroup>
|
||||||
)}
|
)
|
||||||
|
: <AutowithdrawSettings wallet={wallet} />}
|
||||||
<WalletButtonBar
|
<WalletButtonBar
|
||||||
wallet={wallet} onDelete={async () => {
|
wallet={wallet} onDelete={async () => {
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in New Issue