Merge pull request #4434 from cmgustavo/bug/no-wallets-02
Fix UI delete wallets
This commit is contained in:
commit
468c3babcf
4 changed files with 7 additions and 17 deletions
|
|
@ -1646,12 +1646,6 @@ angular.module('copayApp.controllers').controller('indexController', function($r
|
|||
self.isComplete = null;
|
||||
self.walletName = null;
|
||||
uxLanguage.update();
|
||||
|
||||
profileService.isDisclaimerAccepted(function(v) {
|
||||
if (v) {
|
||||
go.path('import');
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ angular.module('copayApp.controllers').controller('confirmationController', func
|
|||
$scope.ok = function() {
|
||||
$scope.loading = true;
|
||||
$scope.okAction();
|
||||
$scope.cancel();
|
||||
$scope.confirmationModal.hide();
|
||||
};
|
||||
|
||||
$scope.cancel = function() {
|
||||
|
|
|
|||
|
|
@ -38,10 +38,10 @@ angular.module('copayApp.controllers').controller('preferencesDeleteWalletContro
|
|||
if (err) {
|
||||
$scope.error = err.message || err;
|
||||
} else {
|
||||
go.walletHome();
|
||||
notification.success(gettextCatalog.getString('Success'), gettextCatalog.getString('The wallet "{{walletName}}" was deleted', {
|
||||
walletName: walletName
|
||||
}));
|
||||
applicationService.restart();
|
||||
}
|
||||
});
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue