Skip to content
Snippets Groups Projects
Commit e51953be authored by Douglas Barbosa Alexandre's avatar Douglas Barbosa Alexandre
Browse files

Fix LabelsHelper#can_subscribe_to_label_in_different_levels

parent fe17b117
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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)
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment