Skip to content

Commit 37e3b42

Browse files
authored
Fix invalid tag color in timeline
Pink has been removed as a color in gov-uk tags, and so whenever the timeline page loads with a school move log entry the user currently sees an error. This change fixes this by using a supported color. Jira-Issue: MAV-6233
2 parents 929515b + db93f35 commit 37e3b42

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/components/app_timeline_component.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def render? = @items.present?
3838
"Triage" => "red",
3939
"VaccinationRecord" => "grey",
4040
"SchoolMove" => "orange",
41-
"SchoolMoveLogEntry" => "pink"
41+
"SchoolMoveLogEntry" => "orange"
4242
}.freeze
4343

4444
def format_heading(item)

0 commit comments

Comments
 (0)