little fixes
This commit is contained in:
parent
edeb9f26b5
commit
172f8a8021
4 changed files with 2 additions and 170 deletions
|
|
@ -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');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue