Merge pull request #2898 from matiu/feat/handle-txp-delete

Feat/handle txp delete
This commit is contained in:
Ivan Socolsky 2015-06-18 12:17:35 -03:00
commit d10057c745
3 changed files with 9 additions and 8 deletions

View file

@ -365,9 +365,8 @@ angular.module('copayApp.controllers').controller('indexController', function($r
tx.statusForUs = 'pending';
}
if (tx.creatorId == self.copayerId && tx.actions.length == 1) {
tx.couldRemove = true;
};
if (!tx.deleteLockTime)
tx.canBeRemoved = true;
if (tx.creatorId != self.copayerId) {
self.pendingTxProposalsCountForUs = self.pendingTxProposalsCountForUs + 1;