Skip to content

Commit

Permalink
Fix ordering on programs in opportunities page (#405)
Browse files Browse the repository at this point in the history
Fix ordering on programs
  • Loading branch information
mveytsman authored Jul 17, 2024
1 parent 527bde0 commit 1648639
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ defmodule BikeBrigadeWeb.OpportunityLive.FormComponent do

@impl Phoenix.LiveComponent
def mount(socket) do
programs = for p <- BikeBrigade.Repo.all(Program), do: {p.name, p.id}
programs = for p <- Delivery.list_programs(), do: {p.name, p.id}

{:ok,
socket
Expand Down

0 comments on commit 1648639

Please sign in to comment.