better flag

This commit is contained in:
Matias Alejo Garcia 2015-12-10 15:12:46 -03:00
parent ae400dbe27
commit 452919dbe0
1 changed files with 1 additions and 0 deletions

View File

@ -1325,6 +1325,7 @@ angular.module('copayApp.controllers').controller('indexController', function($r
'Local/NewTxProposal', 'Local/TxProposalAction', 'Local/GlideraTx'
], function(eventName) {
$rootScope.$on(eventName, function(event, untilItChanges) {
self.newTx = eventName == 'Local/TxProposalAction' && untilItChanges;
self.updateAll({
walletStatus: null,
untilItChanges: untilItChanges,