1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-23 02:38:35 +00:00

org settings -> webhook/labels/deletion should also active the menu (#17809)

This commit is contained in:
Lunny Xiao
2021-11-25 23:15:58 +08:00
committed by GitHub
parent e8f1f09132
commit 6c21961462
3 changed files with 7 additions and 1 deletions

View File

@@ -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))