meta can be either empty string or undefined

Change-Id: I0da3c5c70840a1356bd59a38d37eddff11e48d6d
This commit is contained in:
Prabhjyot Singh 2018-03-30 10:26:02 +05:30
parent e6ad8d1c70
commit fcd551fe1d
No known key found for this signature in database
GPG key ID: E8B414FA26357220

View file

@ -1019,7 +1019,7 @@ function ParagraphCtrl($scope, $rootScope, $route, $window, $routeParams, $locat
let prev = null;
matches = matches.filter(function(item) {
if (item.meta !== '') {
if (!_.isEmpty(item.meta)) {
if (completionListLength !== 0) {
return false;
}