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

pull/255/head
azivner 2018-11-27 19:43:34 +07:00
parent 27787c8f37
commit 6c51696d1a
1 changed files with 0 additions and 4 deletions

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