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