Skip to content

Commit

Permalink
Fix css classes for Issue Priorities
Browse files Browse the repository at this point in the history
  • Loading branch information
nanego committed Jun 26, 2024
1 parent 9b0a1a4 commit eef032a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 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,8 @@

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

Expand Down

0 comments on commit eef032a

Please sign in to comment.