add conditoin to partyInvites Index page