Merge pull request #3365 from javierbitpay/fix/delete-txs-history
add delete history button in advanced->wallet info
This commit is contained in:
commit
5e877735c7
3 changed files with 36 additions and 8 deletions
|
|
@ -1007,6 +1007,12 @@ angular.module('copayApp.controllers').controller('indexController', function($r
|
|||
|
||||
};
|
||||
|
||||
$rootScope.$on('Local/ClearHistory', function(event) {
|
||||
$log.debug('The wallet transaction history has been deleted');
|
||||
self.txHistory = [];
|
||||
self.updateHistory();
|
||||
});
|
||||
|
||||
// UX event handlers
|
||||
$rootScope.$on('Local/ColorUpdated', function(event) {
|
||||
self.updateColor();
|
||||
|
|
@ -1259,4 +1265,4 @@ angular.module('copayApp.controllers').controller('indexController', function($r
|
|||
self.setFocusedWallet();
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue