@@ -73,6 +73,7 @@ defmodule AlgoraWeb.Org.DashboardLive do
7373 |> assign ( :contributors , contributors )
7474 |> assign ( :developers , contributors |> Enum . map ( & & 1 . user ) |> Enum . concat ( experts ) )
7575 |> assign ( :has_more_bounties , false )
76+ |> assign ( :has_more_transactions , false )
7677 |> assign ( :oauth_url , Github . authorize_url ( % { socket_id: socket . id } ) )
7778 |> assign ( :bounty_form , to_form ( BountyForm . changeset ( % BountyForm { } , % { } ) ) )
7879 |> assign ( :tip_form , to_form ( TipForm . changeset ( % TipForm { } , % { } ) ) )
@@ -867,9 +868,9 @@ defmodule AlgoraWeb.Org.DashboardLive do
867868 defp to_transaction_rows ( transactions ) , do: transactions
868869
869870 defp assign_more_bounties ( socket ) do
870- % { rows : rows , current_org: current_org } = socket . assigns
871+ % { bounty_rows : rows , current_org: current_org } = socket . assigns
871872
872- last_bounty = List . last ( rows ) . bounty
873+ last_bounty = List . last ( rows )
873874
874875 cursor = % {
875876 inserted_at: last_bounty . inserted_at ,
@@ -887,7 +888,7 @@ defmodule AlgoraWeb.Org.DashboardLive do
887888
888889 socket
889890 |> assign ( :bounty_rows , rows ++ to_bounty_rows ( more_bounties ) )
890- |> assign ( :has_more , length ( more_bounties ) >= page_size ( ) )
891+ |> assign ( :has_more_bounties , length ( more_bounties ) >= page_size ( ) )
891892 end
892893
893894 defp assign_more_transactions ( socket ) do
0 commit comments