Fix LabelsHelper#can_subscribe_to_label_in_different_levels

上级 fe17b117
......@@ -134,7 +134,7 @@ module LabelsHelper
end
def can_subscribe_to_label_in_different_levels?(label)
defined?(@project) || label.is_a?(GroupLabel)
defined?(@project) && label.is_a?(GroupLabel)
end
def label_subscription_status(label, project)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册