org settings -> webhook/labels/deletion should also active the menu (#17809)
This commit is contained in:
@@ -34,6 +34,7 @@ func NewLabel(ctx *context.Context) {
|
||||
form := web.GetForm(ctx).(*forms.CreateLabelForm)
|
||||
ctx.Data["Title"] = ctx.Tr("repo.labels")
|
||||
ctx.Data["PageIsLabels"] = true
|
||||
ctx.Data["PageIsOrgSettings"] = true
|
||||
|
||||
if ctx.HasError() {
|
||||
ctx.Flash.Error(ctx.Data["ErrorMsg"].(string))
|
||||
|
||||
Reference in New Issue
Block a user