handles new deletion rules

This commit is contained in:
Matias Alejo Garcia 2015-06-17 16:25:05 -03:00
commit e95956e5a8
2 changed files with 2 additions and 4 deletions

View file

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