Skip to content

Commit 47face9

Browse files
committed
add alert
1 parent 8cd676e commit 47face9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/algora_web/live/org/job_live.ex

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,9 @@ defmodule AlgoraWeb.Org.JobLive do
9696
end
9797

9898
@impl true
99-
def handle_params(%{"tab" => "activate"}, _uri, socket) do
99+
def handle_params(%{"tab" => "activate"}, uri, socket) do
100+
Algora.Admin.alert("Activate clicked #{uri}", :warning)
101+
100102
socket =
101103
if socket.assigns.current_org.subscription_price,
102104
do: assign(socket, :show_payment_drawer, true),

0 commit comments

Comments
 (0)