Skip to content
Snippets Groups Projects
Commit 78fcb83f authored by Kerri Miller's avatar Kerri Miller
Browse files

Apply 1 suggestion(s) to 1 file(s)

parent 20896b28
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -114,7 +114,7 @@ def after_update(issuable)
def track_title_and_desc_edits(merge_request, changed_fields)
tracked_fields = %w(title description)
 
return unless changed_fields.any? { |i| tracked_fields.include? i }
return unless changed_fields.any? { |field| tracked_fields.include?(field) }
 
tracked_fields.each do |action|
next unless changed_fields.include?(action)
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