Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
e363e76a
Commit
e363e76a
authored
Apr 01, 2019
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed expand full file button showing on images
Closes
https://gitlab.com/gitlab-org/gitlab-ce/issues/59695
parent
0a480e3c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
app/serializers/diff_file_entity.rb
app/serializers/diff_file_entity.rb
+1
-1
changelogs/unreleased/fix-expand-full-file-on-image.yml
changelogs/unreleased/fix-expand-full-file-on-image.yml
+5
-0
No files found.
app/serializers/diff_file_entity.rb
View file @
e363e76a
...
@@ -57,7 +57,7 @@ class DiffFileEntity < DiffFileBaseEntity
...
@@ -57,7 +57,7 @@ class DiffFileEntity < DiffFileBaseEntity
diff_file
.
diff_lines_for_serializer
diff_file
.
diff_lines_for_serializer
end
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?
diff_file
.
fully_expanded?
end
end
...
...
changelogs/unreleased/fix-expand-full-file-on-image.yml
0 → 100644
View file @
e363e76a
---
title
:
Fixed expand full file button showing on images
merge_request
:
author
:
type
:
fixed
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment