little fixes

This commit is contained in:
Gabriel Bazán 2016-11-24 11:46:49 -03:00
commit 172f8a8021
4 changed files with 2 additions and 170 deletions

View file

@ -26,8 +26,7 @@ angular.module('copayApp.controllers').controller('amountController', function($
$scope.customAmount = data.stateParams.customAmount;
$scope.title = $scope.customAmount ? gettextCatalog.getString('Request Specific Amount') : gettextCatalog.getString('Enter Amount');
if (!$scope.cardId && !data.stateParams.toAddress && !data.stateParams.customAmount) {
if (!$scope.cardId && !data.stateParams.toAddress) {
$log.error('Bad params at amount')
throw ('bad params');
}