implements delete wallet, in backuptab
This commit is contained in:
parent
46feadf57c
commit
2c60fd91c0
7 changed files with 219 additions and 79 deletions
|
|
@ -39,9 +39,9 @@ angular.module('copayApp.controllers').controller('BackupController',
|
|||
};
|
||||
|
||||
$scope.deleteWallet = function() {
|
||||
var w=$rootScope.wallet;
|
||||
var w = $rootScope.wallet;
|
||||
w.disconnect();
|
||||
walletFactory.remove(w.id, function() {
|
||||
walletFactory.delete(w.id, function() {
|
||||
controllerUtils.logout();
|
||||
});
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue