Skip to content

Commit

Permalink
reverse campaign order lists.
Browse files Browse the repository at this point in the history
  • Loading branch information
teesloane committed Nov 12, 2024
1 parent 0aa9510 commit b649f7b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion lib/bike_brigade_web/live/campaign_live/index.ex
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ defmodule BikeBrigadeWeb.CampaignLive.Index do
)
|> Enum.reverse()
|> Utils.ordered_group_by(&LocalizedDateTime.to_date(&1.delivery_start))
|> Enum.reverse()
end

attr :campaign, Campaign, required: true
Expand Down
1 change: 0 additions & 1 deletion lib/bike_brigade_web/live/campaign_signup_live/index.ex
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ defmodule BikeBrigadeWeb.CampaignSignupLive.Index do
)
|> Enum.reverse()
|> Utils.ordered_group_by(&LocalizedDateTime.to_date(&1.delivery_start))
|> Enum.reverse()
end

defp fetch_campaigns({:campaign_ids, campaign_ids}) do
Expand Down

0 comments on commit b649f7b

Please sign in to comment.