append empty space only if count exists
This commit is contained in:
parent
3d4d89f060
commit
40f381e652
|
@ -333,9 +333,9 @@ module ApplicationHelper
|
|||
|
||||
html = ""
|
||||
html += content_tag :span, entity_title
|
||||
html += " "
|
||||
|
||||
if count.present?
|
||||
html += " "
|
||||
html += content_tag :span, number_with_delimiter(count), class: 'badge'
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue