mirror of
https://github.com/go-gitea/gitea.git
synced 2026-11-17 14:59:39 +00:00
Fix issue label rendering in the issue popup (#30763)
This commit is contained in:
1 parent
a3d9f0d915
commit
61b495e5ab
5 files changed
+36
-48
No files matched your search
@@ -53,7 +53,7 @@ export function initCommonIssueListQuickGoto() {
|
||||
// try to check whether the parsed goto link is valid
|
||||
let targetUrl = parseIssueListQuickGotoLink(repoLink, searchText);
|
||||
if (targetUrl) {
|
||||
const res = await GET(`${targetUrl}/info`);
|
||||
const res = await GET(`${targetUrl}/info`); // backend: GetIssueInfo, it only checks whether the issue exists by status code
|
||||
if (res.status !== 200) targetUrl = '';
|
||||
}
|
||||
// if the input value has changed, then ignore the result
|
||||
|
||||
Reference in new issue
Block a user