diff options
author | Lauris BH <lauris@nix.lv> | 2017-10-16 10:55:43 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-16 10:55:43 +0300 |
commit | c1b0c9e7c4bbb669ea03694c30c9ff66a109ef17 (patch) | |
tree | 06c50be163dfa85264a72b54393eb29aa0f4128c /routers/repo/issue_label.go | |
parent | a75d5c72bb9d85b2344ee98b4425290423b6e6b2 (diff) | |
download | gitea-c1b0c9e7c4bbb669ea03694c30c9ff66a109ef17.tar.gz gitea-c1b0c9e7c4bbb669ea03694c30c9ff66a109ef17.zip |
Fix PR, milestone and label functionality if issue unit is disabled (#2710)
* Fix PR, milestone and label functionality if issue unit is disabled or not assigned to user
* Fix multi-actions in PR page
* Change error message
* Fix comment update and delete functionality in PR
Diffstat (limited to 'routers/repo/issue_label.go')
-rw-r--r-- | routers/repo/issue_label.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/routers/repo/issue_label.go b/routers/repo/issue_label.go index 3422677943..9b4da4b500 100644 --- a/routers/repo/issue_label.go +++ b/routers/repo/issue_label.go @@ -18,10 +18,6 @@ const ( // Labels render issue's labels page func Labels(ctx *context.Context) { - MustEnableIssues(ctx) - if ctx.Written() { - return - } ctx.Data["Title"] = ctx.Tr("repo.labels") ctx.Data["PageIsIssueList"] = true ctx.Data["PageIsLabels"] = true |