fix locking amount in send
This commit is contained in:
parent
d91628af54
commit
c831f4ce8c
2 changed files with 9 additions and 3 deletions
|
|
@ -79,7 +79,10 @@ angular.module('copayApp.controllers').controller('indexController', function($r
|
|||
$log.debug('Cleaning Index Instance');
|
||||
lodash.each(self, function(v, k) {
|
||||
if (lodash.isFunction(v)) return;
|
||||
if (vanillaScope[k]) return;
|
||||
if (vanillaScope[k]) {
|
||||
self[k] = vanillaScope[k];
|
||||
return;
|
||||
}
|
||||
|
||||
// This are to prevent flicker in mobile:
|
||||
if (k == 'hasProfile') return;
|
||||
|
|
|
|||
|
|
@ -56,7 +56,10 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
|
|||
$log.debug('Cleaning WalletHome Instance');
|
||||
lodash.each(self, function(v, k) {
|
||||
if (lodash.isFunction(v)) return;
|
||||
if (vanillaScope[k]) return;
|
||||
if (vanillaScope[k]) {
|
||||
self[k] = vanillaScope[k];
|
||||
return;
|
||||
}
|
||||
|
||||
delete self[k];
|
||||
});
|
||||
|
|
@ -823,7 +826,7 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
|
|||
}, 1);
|
||||
};
|
||||
|
||||
|
||||
// subscription
|
||||
this.setOngoingProcess = function(name) {
|
||||
var self = this;
|
||||
self.blockUx = !!name;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue