fix controllerSpec tests
This commit is contained in:
parent
fd7c484761
commit
b2c04b7372
8 changed files with 107 additions and 237 deletions
|
|
@ -59,6 +59,7 @@ angular.module('copayApp.controllers').controller('SendController',
|
|||
set: function(newValue) {
|
||||
this._amount = newValue;
|
||||
if (typeof(newValue) === 'number' && $scope.isRateAvailable) {
|
||||
|
||||
this._alternative = parseFloat(
|
||||
(rateService.toFiat(newValue * w.settings.unitToSatoshi, w.settings.alternativeIsoCode)).toFixed(2), 10);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue