diff --git a/js/views/conversation_search_view.js b/js/views/conversation_search_view.js index 98ba719c2..3618585bd 100644 --- a/js/views/conversation_search_view.js +++ b/js/views/conversation_search_view.js @@ -87,7 +87,7 @@ // Check if the query is in the model list // If it is then hide the new contact view - const modelExists = this.typeahead_view.collection.find(item => item.get('id') == query); + const modelExists = this.typeahead_view.collection.find(item => item.get('id') === query); if (modelExists) this.new_contact_view.$el.hide(); }) );