Render modified icon for moved file
This commit is contained in:
parent
4e846c735f
commit
2ecac881e7
2 changed files with 6 additions and 1 deletions
|
@ -160,7 +160,7 @@ module DiffHelper
|
|||
end
|
||||
|
||||
def diff_file_changed_icon(diff_file)
|
||||
if diff_file.deleted_file? || diff_file.renamed_file?
|
||||
if diff_file.deleted_file?
|
||||
"file-deletion"
|
||||
elsif diff_file.new_file?
|
||||
"file-addition"
|
||||
|
|
5
changelogs/unreleased/42314-diff-file.yml
Normal file
5
changelogs/unreleased/42314-diff-file.yml
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: Render modified icon for moved file in changes dropdown
|
||||
merge_request:
|
||||
author:
|
||||
type: fixed
|
Loading…
Reference in a new issue