summaryrefslogtreecommitdiff
path: root/app/views/shared/_event_filter.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/shared/_event_filter.html.haml')
-rw-r--r--app/views/shared/_event_filter.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/_event_filter.html.haml b/app/views/shared/_event_filter.html.haml
index 67c145cef17..e50ab5fea09 100644
--- a/app/views/shared/_event_filter.html.haml
+++ b/app/views/shared/_event_filter.html.haml
@@ -6,6 +6,6 @@
= event_filter_link EventFilter.merged, 'Merge events'
- if event_filter_visible(:issues)
= event_filter_link EventFilter.issue, 'Issue events'
- - if event_filter_visible(:issues)
+ - if comments_visible?
= event_filter_link EventFilter.comments, 'Comments'
= event_filter_link EventFilter.team, 'Team'