Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions lib/algora_web/live/org/bounties_live.ex
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ defmodule AlgoraWeb.Org.BountiesLive do
<td class="[&:has([role=checkbox])]:pr-0 p-4 align-middle">
<div class="flex items-center justify-end gap-2">
<.button
:if={@current_user_role in [:admin, :mod]}
phx-click="edit-bounty-amount"
phx-value-id={bounty.id}
variant="secondary"
Expand All @@ -230,6 +231,7 @@ defmodule AlgoraWeb.Org.BountiesLive do
Edit Amount
</.button>
<.button
:if={@current_user_role in [:admin, :mod]}
phx-click="delete-bounty"
phx-value-id={bounty.id}
variant="destructive"
Expand Down