full precision on tx details modal
This commit is contained in:
parent
27f3ebf376
commit
d477effd07
4 changed files with 14 additions and 7 deletions
|
|
@ -418,7 +418,7 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
|
|||
return self.setSendError(gettext(msg));
|
||||
}
|
||||
|
||||
if (form.amount.$modelValue * unitToSat > Number.MAX_SAFE_INTEGER) {
|
||||
if (form.amount.$modelValue * unitToSat > Number.MAX_SAFE_INTEGER) {
|
||||
var msg = 'Amount too big';
|
||||
$log.warn(msg);
|
||||
return self.setSendError(gettext(msg));
|
||||
|
|
@ -811,7 +811,7 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
|
|||
this.openTxModal = function(btx) {
|
||||
var self = this;
|
||||
|
||||
$scope.btx = btx;
|
||||
$scope.btx = lodash.cloneDeep(btx);
|
||||
$scope.self = self;
|
||||
|
||||
$ionicModal.fromTemplateUrl('views/modals/tx-details.html', {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue