From 61d15fdd57e4c7de0d865e65c3753cf21b5afe0c Mon Sep 17 00:00:00 2001 From: Mikunj Date: Wed, 7 Nov 2018 13:20:52 +1100 Subject: [PATCH] Changed == to === --- js/views/conversation_search_view.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }) );