Fix minor transfer toggle inconvenience (#9197)

This commit is contained in:
Jaco 2023-03-23 12:50:50 +02:00 committed by GitHub
parent 55c0fd5ca3
commit 79f862ffa5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -198,7 +198,11 @@ function Transfer ({ className = '', onClose, recipientId: propRecipientId, send
<TxButton
accountId={propSenderId || senderId}
icon='paper-plane'
isDisabled={!hasAvailable || !(propRecipientId || recipientId) || !amount || !!recipientPhish}
isDisabled={
(!isAll && (!hasAvailable || !amount)) ||
!(propRecipientId || recipientId) ||
!!recipientPhish
}
label={t<string>('Make Transfer')}
onStart={onClose}
params={