diff --git a/lib/towerops_web/live/dashboard_live.ex b/lib/towerops_web/live/dashboard_live.ex
index da200b8e..10dad352 100644
--- a/lib/towerops_web/live/dashboard_live.ex
+++ b/lib/towerops_web/live/dashboard_live.ex
@@ -43,12 +43,6 @@ defmodule ToweropsWeb.DashboardLive do
|> load_dashboard_data(organization.id)}
end
- @impl true
- def handle_event("refresh_dashboard", _params, socket) do
- organization = socket.assigns.current_scope.organization
- {:noreply, load_dashboard_data(socket, organization.id)}
- end
-
@impl true
def handle_event("dismiss_insight", %{"id" => insight_id}, socket) do
case Preseem.dismiss_insight(insight_id) do
@@ -155,7 +149,6 @@ defmodule ToweropsWeb.DashboardLive do
|> assign(:site_impact_summaries, site_impact_summaries)
|> assign(:uptime_percentage, uptime_percentage)
|> assign(:recent_activity, recent_activity)
- |> assign(:last_updated, DateTime.utc_now())
|> assign(:favicon_status, favicon_status(Map.get(status_counts, :down, 0), length(active_alerts)))
|> load_insights(organization_id)
|> load_recent_config_changes(organization_id)
diff --git a/lib/towerops_web/live/dashboard_live.html.heex b/lib/towerops_web/live/dashboard_live.html.heex
index 3f5d8ed5..0fd1161d 100644
--- a/lib/towerops_web/live/dashboard_live.html.heex
+++ b/lib/towerops_web/live/dashboard_live.html.heex
@@ -17,21 +17,14 @@
NOC
- <%= if assigns[:last_updated] do %>
-
-
- {ToweropsWeb.TimeHelpers.format_time_ago(@last_updated)}
+
+
+
-
-
- <% end %>
+
+
+
Live
+
<%= if !assigns[:summary] do %>
diff --git a/lib/towerops_web/live/network_map_live.ex b/lib/towerops_web/live/network_map_live.ex
index 12ce01b3..c8a88baa 100644
--- a/lib/towerops_web/live/network_map_live.ex
+++ b/lib/towerops_web/live/network_map_live.ex
@@ -60,17 +60,6 @@ defmodule ToweropsWeb.NetworkMapLive do
{:noreply, socket}
end
- @impl true
- def handle_event("refresh_topology", _params, socket) do
- organization = socket.assigns.current_scope.organization
-
- {:noreply,
- socket
- |> assign(:loading, true)
- |> load_topology_data(organization.id, socket.assigns.active_tab)
- |> put_flash(:info, t("Network map refreshed"))}
- end
-
@impl true
def handle_event("node_clicked", %{"node_id" => node_id} = params, socket) do
organization = socket.assigns.current_scope.organization
diff --git a/lib/towerops_web/live/network_map_live.html.heex b/lib/towerops_web/live/network_map_live.html.heex
index 31cca935..1ed2e2c1 100644
--- a/lib/towerops_web/live/network_map_live.html.heex
+++ b/lib/towerops_web/live/network_map_live.html.heex
@@ -12,9 +12,14 @@
<:subtitle>{t("Visual topology of your network infrastructure")}
<:actions>
- <.button phx-click="refresh_topology" disabled={@loading}>
- <.icon name="hero-arrow-path" class="h-5 w-5" /> Refresh
-
+