Don't double-render key conflict errors
// FREEBIE
This commit is contained in:
parent
7ec4700431
commit
b42626923c
1 changed files with 4 additions and 1 deletions
|
@ -10,7 +10,10 @@
|
|||
templateName: 'contact-detail',
|
||||
initialize: function(options) {
|
||||
this.conflict = options.conflict;
|
||||
this.errors = options.errors;
|
||||
this.errors = _.reject(options.errors, function(e) {
|
||||
return (e.name === 'IncomingIdentityKeyError' ||
|
||||
e.name === 'OutgoingIdentityKeyError');
|
||||
});
|
||||
},
|
||||
events: {
|
||||
'click .conflict': 'triggerConflict'
|
||||
|
|
Loading…
Reference in a new issue