Fixed update of available funds text.

This commit is contained in:
Brendon Duncan 2018-07-19 15:34:53 +12:00
commit 19bec8a09a

View file

@ -696,5 +696,12 @@ angular.module('copayApp.controllers').controller('amountController', function($
availableFundsInCrypto = '';
availableSatoshis = null;
}
if (availableUnits[unitIndex].isFiat) {
$scope.availableFunds = availableFundsInFiat || availableFundsInCrypto;
} else {
$scope.availableFunds = availableFundsInCrypto;
}
}
});