瀏覽代碼

Fix active issue (#9238)

Signed-off-by: jolheiser <john.olheiser@gmail.com>
tags/v1.11.0-rc1
John Olheiser 4 年之前
父節點
當前提交
e459f99ef2
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3
    3
      routers/user/home.go

+ 3
- 3
routers/user/home.go 查看文件

@@ -178,7 +178,7 @@ func Issues(ctx *context.Context) {
)

if ctxUser.IsOrganization() {
viewType = "all"
viewType = "your_repositories"
} else {
viewType = ctx.Query("type")
switch viewType {
@@ -188,9 +188,9 @@ func Issues(ctx *context.Context) {
filterMode = models.FilterModeCreate
case "mentioned":
filterMode = models.FilterModeMention
case "all": // filterMode already set to All
case "your_repositories": // filterMode already set to All
default:
viewType = "all"
viewType = "your_repositories"
}
}


Loading…
取消
儲存