Filter from first typed symbol

This commit is contained in:
alexey semenyuk 2024-06-09 17:37:05 +05:00 committed by GitHub
parent 48686adf48
commit 3f9c5872b9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -397,7 +397,7 @@
$scope.bySearch = function (lint, index, array) {
let searchStr = $scope.search;
// It can be `null` I haven't missed this value
if (searchStr == null || searchStr.length < 3) {
if (searchStr == null) {
return true;
}
searchStr = searchStr.toLowerCase();