diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2022-05-08 23:51:50 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-08 17:51:50 +0200 |
commit | d4834071da9ce010fd4677ef339c598dd23dc130 (patch) | |
tree | ee6692b9b44e259d79158c2dc2b867d8f3286630 /modules/context/repo.go | |
parent | 6a969681cd862bf153fa7921485278be1e8a092a (diff) | |
download | gitea-d4834071da9ce010fd4677ef339c598dd23dc130.tar.gz gitea-d4834071da9ce010fd4677ef339c598dd23dc130.zip |
Repository level enable package or disable (#19323)
Diffstat (limited to 'modules/context/repo.go')
-rw-r--r-- | modules/context/repo.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/context/repo.go b/modules/context/repo.go index 4a1e9aa9e8..3dc8e51392 100644 --- a/modules/context/repo.go +++ b/modules/context/repo.go @@ -1019,6 +1019,7 @@ func UnitTypes() func(ctx *Context) { ctx.Data["UnitTypeExternalWiki"] = unit_model.TypeExternalWiki ctx.Data["UnitTypeExternalTracker"] = unit_model.TypeExternalTracker ctx.Data["UnitTypeProjects"] = unit_model.TypeProjects + ctx.Data["UnitTypePackages"] = unit_model.TypePackages } } |