1
1
mirror of https://github.com/go-gitea/gitea synced 2025-11-22 14:18:13 +00:00
This commit is contained in:
wxiaoguang
2024-04-30 00:19:40 +08:00
parent a21ca9b5a5
commit d90dd9d7f8
3 changed files with 11 additions and 23 deletions

View File

@@ -2177,7 +2177,10 @@ func GetIssueInfo(ctx *context.Context) {
}
}
ctx.JSON(http.StatusOK, convert.ToIssue(ctx, ctx.Doer, issue))
ctx.JSON(http.StatusOK, map[string]any{
"convertedIssue": convert.ToIssue(ctx, ctx.Doer, issue),
"renderedLabels": templates.RenderLabels(ctx, ctx.Locale, issue.Labels, ctx.Repo.RepoLink, issue),
})
}
// UpdateIssueTitle change issue's title