Commit e363e76a authored by Phil Hughes's avatar Phil Hughes

Fixed expand full file button showing on images

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/59695
parent 0a480e3c
......@@ -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