Skip to content

Commit 67d7ad6

Browse files
authored
Fix wrong redirect on org labels (#18128)
1 parent 626b107 commit 67d7ad6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routers/web/org/org_labels.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ func DeleteLabel(ctx *context.Context) {
9696
func InitializeLabels(ctx *context.Context) {
9797
form := web.GetForm(ctx).(*forms.InitializeLabelsForm)
9898
if ctx.HasError() {
99-
ctx.Redirect(ctx.Repo.RepoLink + "/labels")
99+
ctx.Redirect(ctx.Org.OrgLink + "/labels")
100100
return
101101
}
102102

0 commit comments

Comments
 (0)