Commit 34611f0d authored by Douwe Maan's avatar Douwe Maan

Don't include diff lines in image diff note notification email

parent 047b7e50
......@@ -20,7 +20,7 @@
<% end -%>
<% if discussion&.diff_discussion? -%>
<% if discussion&.diff_discussion? && discussion.on_text? -%>
<% discussion.truncated_diff_lines(highlight: false, diff_limit: diff_limit).each do |line| -%>
<%= "> #{line.text}\n" -%>
<% end -%>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment