Skip to content

Commit

Permalink
Fix css classes for IssuePriorities
Browse files Browse the repository at this point in the history
  • Loading branch information
nanego committed Jun 26, 2024
1 parent 9b0a1a4 commit da2288c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/redmine_tiny_features/issue_priority_patch.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

module RedmineTinyFeatures::IssuePriorityPatch
def css_classes
super.to_s + " priority-#{color}"
classes = super
classes << " priority-#{color}" if color.present?
classes
end
end

Expand Down

0 comments on commit da2288c

Please sign in to comment.