Skip to content

Commit bbfe7f6

Browse files
committed
misc
1 parent e776892 commit bbfe7f6

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

lib/algora_web/live/org/dashboard_live.ex

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -136,13 +136,13 @@ defmodule AlgoraWeb.Org.DashboardLive do
136136

137137
@impl true
138138
def handle_params(params, _uri, socket) do
139-
current_org = socket.assigns.current_org
139+
%{current_org: current_org, previewed_user: previewed_user} = socket.assigns
140140

141141
stats = Bounties.fetch_stats(org_id: current_org.id, current_user: socket.assigns[:current_user])
142142

143143
bounties =
144144
Bounties.list_bounties(
145-
owner_id: current_org.id,
145+
owner_id: previewed_user.id,
146146
limit: page_size(),
147147
status: :open,
148148
current_user: socket.assigns[:current_user]
@@ -505,8 +505,6 @@ defmodule AlgoraWeb.Org.DashboardLive do
505505
{create_tip(assigns)}
506506
</div>
507507
</.section>
508-
509-
<.extras :if={is_nil(@current_context.handle)} />
510508
</div>
511509
</div>
512510
<.sidebar

0 commit comments

Comments
 (0)