We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d11bf78 commit f651272Copy full SHA for f651272
routers/web/repo/view.go
@@ -888,7 +888,7 @@ func renderLanguageStats(ctx *context.Context) {
888
}
889
890
func renderLatestRelease(ctx *context.Context) {
891
- if !ctx.Repo.Repository.UnitEnabled(ctx, unit_model.TypeReleases) || unit_model.TypeReleases.UnitGlobalDisabled() {
+ if !ctx.Repo.Repository.UnitEnabled(ctx, unit_model.TypeReleases) {
892
return
893
894
0 commit comments