diff --git a/lib/claper_web/live/event_live/event_card_component.ex b/lib/claper_web/live/event_live/event_card_component.ex index d7e13fd..c0e3942 100644 --- a/lib/claper_web/live/event_live/event_card_component.ex +++ b/lib/claper_web/live/event_live/event_card_component.ex @@ -158,7 +158,7 @@ defmodule ClaperWeb.EventLive.EventCardComponent do <.link - :if={Event.started?(@event)} + :if={Event.started?(@event) && not @is_leader} data-confirm={ gettext( "Are you sure you want to terminate this event? This action cannot be undone."