File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -5,8 +5,6 @@ defmodule AlgoraWeb.Org.BountiesLive do
55 alias Algora.Bounties
66 alias Algora.Bounties.Bounty
77
8- on_mount AlgoraWeb.Org.BountyHook
9-
108 def mount ( _params , _session , socket ) do
119 open_bounties = Bounties . list_bounties ( owner_id: socket . assigns . current_org . id , limit: 10 , status: :open )
1210 paid_bounties = Bounties . list_bounties ( owner_id: socket . assigns . current_org . id , limit: 10 , status: :paid )
@@ -20,8 +18,7 @@ defmodule AlgoraWeb.Org.BountiesLive do
2018 |> assign ( :paid_bounties , paid_bounties )
2119 |> assign ( :claims , claims )
2220 |> assign ( :open_count , length ( open_bounties ) )
23- |> assign ( :completed_count , length ( paid_bounties ) )
24- |> assign ( :new_bounty_form , to_form ( % { "github_issue_url" => "" , "amount" => "" } ) ) }
21+ |> assign ( :completed_count , length ( paid_bounties ) ) }
2522 end
2623
2724 def render ( assigns ) do
You can’t perform that action at this time.
0 commit comments