also don't show "No results" for attr autocomplete

This commit is contained in:
azivner 2018-11-27 19:43:34 +01:00
parent 27787c8f37
commit 6c51696d1a

View file

@ -25,10 +25,6 @@ function initAttributeNameAutocomplete({ $el, attributeType, open }) {
return {name};
});
if (result.length === 0) {
result.push({name: "No results"});
}
cb(result);
}
}]);