Commit 5efd2dd0 authored by Vladislav Kaverin's avatar Vladislav Kaverin Committed by Vladislav Kaverin

Fix graph notes number duplication.

Function `pluralize` already returns the number along with pluralized word.
parent e0f84130
......@@ -8,7 +8,7 @@ module GraphHelper
# append note count
notes_count = @graph.notes[commit.id]
refs << "[#{notes_count} #{pluralize(notes_count, 'note')}]" if notes_count > 0
refs << "[#{pluralize(notes_count, 'note')}]" if notes_count > 0
refs
end
......
---
title: Fix graph notes number duplication.
merge_request: 15696
author: Vladislav Kaverin
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