1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-10-10 19:32:02 +00:00

exclude current issue from suggestion

This commit is contained in:
Maxim Slipenko 2025-06-07 19:17:00 +03:00
parent 3b0b5d0513
commit 8d30b52fc1
4 changed files with 15 additions and 4 deletions

View file

@ -36,7 +36,7 @@ export function isIssueSuggestionsLoaded() {
return !!window.config.issueValues
}
async function fetchIssueSuggestions() {
export async function fetchIssueSuggestions() {
const issuePathInfo = parseIssueHref(window.location.href);
if (!issuePathInfo.ownerName) {
const repoOwnerPathInfo = parseRepoOwnerPathInfo(window.location.pathname);