Display all redeemed invites sent to the same email address, instead of just displaying one invite per email address.
This commit is contained in:
parent
7bdc228d09
commit
8e87239e6f
|
@ -1362,8 +1362,9 @@ Wiki.prototype.display_invites = function ( invite_area ) {
|
|||
for ( var i in this.invites ) {
|
||||
var invite = this.invites[ i ];
|
||||
|
||||
// only display the first invite for a given email address
|
||||
if ( addresses[ invite.email_address ] == true )
|
||||
// if there are multiple invites for a given email address, only display those that are
|
||||
// redeemed
|
||||
if ( addresses[ invite.email_address ] == true && !invite.redeemed_user_id )
|
||||
continue;
|
||||
|
||||
var revoke_button = createDOM( "input", {
|
||||
|
|
Reference in New Issue