Fixed expand full file button showing on images

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/59695
This commit is contained in:
Phil Hughes 2019-04-01 18:29:10 +01:00
parent 0a480e3c32
commit e363e76af2
No known key found for this signature in database
GPG Key ID: 32245528C52E0F9F
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -0,0 +1,5 @@
---
title: Fixed expand full file button showing on images
merge_request:
author:
type: fixed