Commit 7a5d64de authored by Vitali Tatarintev's avatar Vitali Tatarintev

Merge branch 'id-fix-comment-for-images-diff-notes' into 'master'

Fix comment for diff note images

See merge request gitlab-org/gitlab!47400
parents ffcc311b 9135b5d8
......@@ -9,8 +9,7 @@ module Discussions
def execute(discussion)
# The service has been implemented for text only
# The impact of image notes on this service is being investigated in
# https://gitlab.com/gitlab-org/gitlab/-/issues/213989
# We don't need to capture positions for images
return unless discussion.on_text?
result = tracer&.trace(discussion.position)
......
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