提交 d4a4f68d 编写于 作者: D 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
......@@ -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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册