mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-09-15 18:56:59 +00:00
fix matchIssue
This commit is contained in:
parent
01de4fcf83
commit
ca52403241
1 changed files with 1 additions and 1 deletions
|
@ -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) =>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue