RC fixes #2473

Merged
neb-b merged 26 commits from fixes into master 2019-05-14 20:22:04 +02:00
Showing only changes of commit 17648c5181 - Show all commits

View file

@ -92,12 +92,12 @@ class WalletSend extends React.PureComponent<Props> {
parseFloat(values.amount) === balance parseFloat(values.amount) === balance
} }
/> />
{!!Object.keys(errors).length && ( {!!Object.keys(errors).length || (
<span className="error-text"> <span className="error-text">
{(!!values.address && touched.address && errors.address) || {(!!values.address && touched.address && errors.address) ||
(!!values.amount && touched.amount && errors.amount) || (!!values.amount && touched.amount && errors.amount) ||
(values.amount === balance && __('Decrease amount to account for transaction fee')) || (parseFloat(values.amount) === balance && __('Decrease amount to account for transaction fee')) ||
(values.amount > balance && __('Not enough credits'))} (parseFloat(values.amount) > balance && __('Not enough credits'))}
</span> </span>
)} )}
</div> </div>