summaryrefslogtreecommitdiff
path: root/app/components
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-12-07 00:08:34 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-12-07 00:08:34 +0000
commit7e89568aa1b1c531aa34860fbd9e77d9e988b9b2 (patch)
tree9d644d947b75594d969f040ef046541c769e0dc3 /app/components
parentf2143c9986ad7b6206b8a41cc9aeb419e543d3f5 (diff)
downloadgitlab-ce-7e89568aa1b1c531aa34860fbd9e77d9e988b9b2.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/components')
-rw-r--r--app/components/diffs/stats_component.rb16
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