diff --git a/lib/towerops_web/live/device_live/show.ex b/lib/towerops_web/live/device_live/show.ex index 32369119..7d96201f 100644 --- a/lib/towerops_web/live/device_live/show.ex +++ b/lib/towerops_web/live/device_live/show.ex @@ -66,7 +66,7 @@ defmodule ToweropsWeb.DeviceLive.Show do {:noreply, socket} else # Redirect to add default tab to URL - {:noreply, push_patch(socket, to: ~p"/devices/#{id}?tab=overview")} + {:noreply, push_patch(socket, to: ~p"/devices/#{id}?tab=overview", replace: true)} end {:error, :not_found} ->