mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 02:45:54 +01:00
also don't show "No results" for attr autocomplete
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
}]);
|
}]);
|
||||||
|
|||||||
Reference in New Issue
Block a user