Commit 9135b5d8 authored by Igor Drozdov's avatar Igor Drozdov

Fix comment for diff note images

parent b607ae11
......@@ -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