(contact)
| 161 | ), |
| 162 | methods: { |
| 163 | isContactShown (contact) { |
| 164 | if (!_.isEmpty(this.searchInput)) { return this.matchesFilter(contact) } |
| 165 | return (this.showArchived || !contact.archived) && |
| 166 | ((this.showTrialRequestContacts && contact.trialRequest) || |
| 167 | (this.showZenProspectContacts && contact.zpContact)) |
| 168 | }, |
| 169 | matchesFilter (contact) { |
| 170 | return _.contains(contact.email, this.searchInput) |
| 171 | } |
nothing calls this directly
no outgoing calls
no test coverage detected