mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
also don't show "No results" for attr autocomplete
This commit is contained in:
parent
27787c8f37
commit
6c51696d1a
@ -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…
x
Reference in New Issue
Block a user