fix locking amount in send

This commit is contained in:
Matias Alejo Garcia 2016-02-23 09:54:35 -03:00
commit c831f4ce8c
2 changed files with 9 additions and 3 deletions

View file

@ -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;