mirror of
https://github.com/go-gitea/gitea
synced 2025-08-13 13:08:19 +00:00
* Fix wrong redirect on org labels (#18128) Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
This commit is contained in:
@@ -94,7 +94,7 @@ func DeleteLabel(ctx *context.Context) {
|
||||
func InitializeLabels(ctx *context.Context) {
|
||||
form := web.GetForm(ctx).(*forms.InitializeLabelsForm)
|
||||
if ctx.HasError() {
|
||||
ctx.Redirect(ctx.Repo.RepoLink + "/labels")
|
||||
ctx.Redirect(ctx.Org.OrgLink + "/labels")
|
||||
return
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user