Commit d4a4f68d authored by Douwe Maan's avatar Douwe Maan

Merge branch 'fix-expand-full-file-on-image' into 'master'

Fixed expand full file button showing on images

Closes #59695

See merge request gitlab-org/gitlab-ce!26830
parents a3fd1a13 e363e76a
......@@ -57,7 +57,7 @@ class DiffFileEntity < DiffFileBaseEntity
diff_file.diff_lines_for_serializer
end
expose :is_fully_expanded, if: -> (diff_file, _) { diff_file.text? } do |diff_file|
expose :is_fully_expanded do |diff_file|
diff_file.fully_expanded?
end
......
---
title: Fixed expand full file button showing on images
merge_request:
author:
type: fixed
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