diff --git a/lib/redmine_tiny_features/issue_priority_patch.rb b/lib/redmine_tiny_features/issue_priority_patch.rb index 7560248..5f48a86 100644 --- a/lib/redmine_tiny_features/issue_priority_patch.rb +++ b/lib/redmine_tiny_features/issue_priority_patch.rb @@ -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