1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-09-15 18:56:59 +00:00

fix matchIssue

This commit is contained in:
Maxim Slipenko 2025-06-20 10:58:12 +03:00
parent 01de4fcf83
commit ca52403241

View file

@ -68,7 +68,7 @@ export function matchIssue(queryText, currentIssue = null) {
}
}
if (results.length < maxMatches) {
if (results.size < maxMatches) {
// Fallback: find by title match, sorted by number descending
const titleMatches = issues
.filter((issue) =>