use ui-router non-url params for paypro

This commit is contained in:
Marty Alcala 2016-10-21 11:53:04 -04:00
commit 2fb99dd7c1
4 changed files with 11 additions and 4 deletions

View file

@ -261,7 +261,9 @@ angular.module('copayApp.controllers').controller('confirmController', function(
txp.outputs = outputs;
txp.message = description;
txp.payProUrl = paypro.url;
if(paypro) {
txp.payProUrl = paypro.url;
}
txp.excludeUnconfirmedUtxos = config.spendUnconfirmed ? false : true;
txp.feeLevel = config.settings && config.settings.feeLevel ? config.settings.feeLevel : 'normal';
txp.dryRun = dryRun;