delete focused wallet
This commit is contained in:
parent
5b14c8aca3
commit
6e4a1e7ff2
28 changed files with 184 additions and 194 deletions
|
|
@ -1,9 +1,10 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('copayApp.controllers').controller('preferencesHistory',
|
||||
function($scope, $log, $timeout, storageService, go, profileService, lodash) {
|
||||
var fc = profileService.focusedClient;
|
||||
var c = fc.credentials;
|
||||
function($scope, $log, $stateParams, $timeout, storageService, go, profileService, lodash) {
|
||||
|
||||
var wallet = profileService.getWallet($stateParams.walletId);
|
||||
var c = wallet.credentials;
|
||||
$scope.csvReady = false;
|
||||
|
||||
$scope.csvHistory = function(cb) {
|
||||
|
|
@ -125,7 +126,7 @@ angular.module('copayApp.controllers').controller('preferencesHistory',
|
|||
$scope.$emit('Local/ClearHistory');
|
||||
|
||||
$timeout(function() {
|
||||
go.walletHome();
|
||||
go.choosedWallet(c.walletId);
|
||||
}, 100);
|
||||
});
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue