Skip to content

Resolve "Diff unfold link is still visible when there are no lines to unfold"

What does this MR do?

Prevents files from showing an "ellipsis" diff unfolding link on files for which there are no lines to unfold.

Are there points in the code the reviewer needs to double check?

Why was this MR needed?

Screenshots (if relevant)

Before:

Screen_Shot_2017-01-18_at_12.45.06_PM

After:

Screen_Shot_2017-01-18_at_12.46.58_PM

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #26824 (closed) and #28127 (closed)

Merge request reports