Fix incorrect menu/link on webhook edit page (#29709)

Fix #29699

---------

Co-authored-by: silverwind <me@silverwind.io>
This commit is contained in:
yp05327andsilverwind authored and GitHub committed 2024-03-14 01:37:15 +00:00
1 parent 43de021ac1
commit 2da13675c0
2 files changed
+42

No files matched your search

+1
View File
@@ -588,6 +588,7 @@ func checkWebhook(ctx *context.Context) (*ownerRepoCtx, *webhook.Webhook) {
return nil, nil
}
ctx.Data["BaseLink"] = orCtx.Link
ctx.Data["BaseLinkNew"] = orCtx.LinkNew
var w *webhook.Webhook
if orCtx.RepoID > 0 {