diff --git a/lib/towerops_web/live/equipment_live/show.ex b/lib/towerops_web/live/equipment_live/show.ex index 48cbffb7..525f023d 100644 --- a/lib/towerops_web/live/equipment_live/show.ex +++ b/lib/towerops_web/live/equipment_live/show.ex @@ -40,12 +40,6 @@ defmodule ToweropsWeb.EquipmentLive.Show do |> put_flash(:info, "Discovery completed")} end - @impl true - def handle_event("trigger_check", _params, socket) do - _ = Towerops.Monitoring.EquipmentMonitor.trigger_check(socket.assigns.equipment.id) - {:noreply, put_flash(socket, :info, "Check triggered")} - end - @impl true def handle_event("trigger_discovery", _params, socket) do equipment = socket.assigns.equipment diff --git a/lib/towerops_web/live/equipment_live/show.html.heex b/lib/towerops_web/live/equipment_live/show.html.heex index 52a76f4e..a0018a26 100644 --- a/lib/towerops_web/live/equipment_live/show.html.heex +++ b/lib/towerops_web/live/equipment_live/show.html.heex @@ -9,24 +9,12 @@
{@equipment.ip_address}