Skip to content

Commit e52df04

Browse files
committed
Feedback fixes
1 parent 472863c commit e52df04

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

app/helpers/application_helper.rb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -342,8 +342,9 @@ def deployed_or_running_list(stages, reference)
342342
end
343343
end
344344

345-
if label.present?
346-
text = stage.name.html_safe
345+
if label
346+
text = "".html_safe
347+
text << stage.name
347348
content_tag(:span, text, class: "label #{label} release-stage")
348349
end
349350
end

0 commit comments

Comments
 (0)