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 da2288c commit cf9ff4a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/redmine_tiny_features/issue_priority_patch.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@

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

Expand Down

0 comments on commit cf9ff4a

Please sign in to comment.