fix return and comment
This commit is contained in:
parent
7254da8ae2
commit
d28b345e65
2 changed files with 5 additions and 2 deletions
|
|
@ -96,7 +96,10 @@ angular.module('copayApp.controllers').controller('preferencesInformation',
|
|||
|
||||
this.clearTransactionHistory = function() {
|
||||
storageService.removeTxHistory(c.walletId, function(err) {
|
||||
if (err) return $log.err(err);
|
||||
if (err) {
|
||||
$log.err(err);
|
||||
return;
|
||||
}
|
||||
|
||||
$scope.$emit('Local/ClearHistory');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue