Browse Source

Fix wrong redirect on org labels (#18128)

tags/v1.16.0-rc1
KN4CK3R 2 years ago
parent
commit
67d7ad681a
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      routers/web/org/org_labels.go

+ 1
- 1
routers/web/org/org_labels.go View File

@@ -96,7 +96,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
}


Loading…
Cancel
Save