Render modified icon for moved file

This commit is contained in:
Filipa Lacerda 2018-02-13 18:11:26 +00:00
parent 4e846c735f
commit 2ecac881e7
No known key found for this signature in database
GPG key ID: 9CA3FDE4D1E2F1C8
2 changed files with 6 additions and 1 deletions

View file

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

View file

@ -0,0 +1,5 @@
---
title: Render modified icon for moved file in changes dropdown
merge_request:
author:
type: fixed