We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2fe0dab commit 435038bCopy full SHA for 435038b
routers/web/repo/setting.go
@@ -474,7 +474,7 @@ func SettingsPost(ctx *context.Context) {
474
deleteUnitTypes = append(deleteUnitTypes, unit_model.TypeProjects)
475
}
476
477
- if form.EnablePackages && !unit_model.TypeProjects.UnitGlobalDisabled() {
+ if form.EnablePackages && !unit_model.TypePackages.UnitGlobalDisabled() {
478
units = append(units, repo_model.RepoUnit{
479
RepoID: repo.ID,
480
Type: unit_model.TypePackages,
0 commit comments