Skip to content

Commit

Permalink
Fix for create a User or na Organization project showing
Browse files Browse the repository at this point in the history
  • Loading branch information
DefinitelyADev committed May 4, 2020
1 parent 4bfb2b2 commit 7fc0ac9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions models/unit.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,10 @@ func loadUnitConfig() {
func (u UnitType) UnitGlobalDisabled() bool {
for _, ud := range DisabledRepoUnits {
if u == ud {
return true
return false
}
}
return false
return true
}

// CanDisable checks if this unit type can be disabled.
Expand Down

0 comments on commit 7fc0ac9

Please sign in to comment.