diff options
Diffstat (limited to 'app/components/diffs/stats_component.rb')
-rw-r--r-- | app/components/diffs/stats_component.rb | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/app/components/diffs/stats_component.rb b/app/components/diffs/stats_component.rb index dc42a849ccf..407c3ca4e58 100644 --- a/app/components/diffs/stats_component.rb +++ b/app/components/diffs/stats_component.rb @@ -14,14 +14,14 @@ module Diffs def diff_files_data diffs_map = @diff_files.map do |f| { - href: "##{helpers.hexdigest(f.file_path)}", - title: f.new_path, - name: f.file_path, - path: diff_file_path_text(f), - icon: diff_file_changed_icon(f), - iconColor: diff_file_changed_icon_color(f).to_s, - added: f.added_lines, - removed: f.removed_lines + href: "##{helpers.hexdigest(f.file_path)}", + title: f.new_path, + name: f.file_path, + path: diff_file_path_text(f), + icon: diff_file_changed_icon(f), + iconColor: diff_file_changed_icon_color(f).to_s, + added: f.added_lines, + removed: f.removed_lines } end |