fix(instant): Don't update heartbeat if amount is 0

This commit is contained in:
Steve Klebanoff
2018-12-10 09:16:15 -08:00
parent a39e0f13be
commit a0ea0415dd

View File

@@ -97,6 +97,7 @@ export const asyncData = {
if (
!_.isUndefined(selectedAssetUnitAmount) &&
!_.isUndefined(selectedAsset) &&
selectedAssetUnitAmount.greaterThan(BIG_NUMBER_ZERO) &&
buyOrderState.processState === OrderProcessState.None &&
selectedAsset.metaData.assetProxyId === AssetProxyId.ERC20
) {