Commit 2ecac881 authored by Filipa Lacerda's avatar Filipa Lacerda

Render modified icon for moved file

parent 4e846c73
...@@ -160,7 +160,7 @@ module DiffHelper ...@@ -160,7 +160,7 @@ module DiffHelper
end end
def diff_file_changed_icon(diff_file) def diff_file_changed_icon(diff_file)
if diff_file.deleted_file? || diff_file.renamed_file? if diff_file.deleted_file?
"file-deletion" "file-deletion"
elsif diff_file.new_file? elsif diff_file.new_file?
"file-addition" "file-addition"
......
---
title: Render modified icon for moved file in changes dropdown
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