summaryrefslogtreecommitdiffstats
path: root/routers/user/home.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/user/home.go')
-rw-r--r--routers/user/home.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/user/home.go b/routers/user/home.go
index 09711f4bc0..f5f6a0950d 100644
--- a/routers/user/home.go
+++ b/routers/user/home.go
@@ -236,7 +236,7 @@ func Issues(ctx *context.Context) {
for _, repo := range repos {
if (isPullList && repo.NumPulls == 0) ||
(!isPullList &&
- (!repo.EnableIssues || repo.EnableExternalTracker || repo.NumIssues == 0)) {
+ (!repo.EnableUnit(models.UnitTypeIssues) || repo.NumIssues == 0)) {
continue
}