move function to profileService
This commit is contained in:
parent
ea2060511e
commit
d6325113d4
3 changed files with 17 additions and 16 deletions
|
|
@ -250,6 +250,10 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
|
|||
}
|
||||
|
||||
$modalInstance.close(addr);
|
||||
profileService.isBackupNeeded(walletId, function(needsBackup) {
|
||||
self.destinationWalletNeedsBackup = needsBackup;
|
||||
$modalInstance.close(addr);
|
||||
});
|
||||
});
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue