Order events in the cluster so that the oldest is closest to the timestamp

This commit is contained in:
Jason Zimdars
2025-03-03 09:04:08 -07:00
parent a87ffd6473
commit 72592ec3cc
+1 -1
View File
@@ -9,7 +9,7 @@
<% events.each do | hour_column, cluster| %>
<%= event_cluster_tag(*hour_column) do %>
<%= render cluster %>
<%= render cluster.sort_by(&:created_at).reverse %>
<%= local_datetime_tag cluster.first.created_at, class: "event__timestamp txt-small translucent" %>
<% end %>