Fix LabelsHelper#can_subscribe_to_label_in_different_levels

This commit is contained in:
Douglas Barbosa Alexandre 2017-06-26 17:52:01 -03:00
parent fe17b11736
commit e51953bea7
1 changed files with 1 additions and 1 deletions

View File

@ -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)