mirror of
https://github.com/zadam/trilium.git
synced 2025-10-21 21:10:01 +08:00
also don't show "No results" for attr autocomplete
This commit is contained in:
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);
|
||||||
}
|
}
|
||||||
}]);
|
}]);
|
||||||
|
|
Loading…
Add table
Reference in a new issue