From 2245612ecec72d62bd95765c440142667c9ffb26 Mon Sep 17 00:00:00 2001 From: Kyle Carberry Date: Wed, 18 Mar 2026 17:07:34 -0400 Subject: [PATCH] fix(site): fix browser back navigation between agents settings pages (#23254) --- site/src/pages/AgentsPage/AgentsSidebar.tsx | 6 ------ 1 file changed, 6 deletions(-) diff --git a/site/src/pages/AgentsPage/AgentsSidebar.tsx b/site/src/pages/AgentsPage/AgentsSidebar.tsx index d7ae2f790f..d9903357b9 100644 --- a/site/src/pages/AgentsPage/AgentsSidebar.tsx +++ b/site/src/pages/AgentsPage/AgentsSidebar.tsx @@ -962,7 +962,6 @@ export const AgentsSidebar: FC = (props) => { label="Behavior" active={sidebarView.section === "behavior"} to="/agents/settings/behavior" - replace state={location.state} /> {isAdmin && ( @@ -972,7 +971,6 @@ export const AgentsSidebar: FC = (props) => { label="Providers" active={sidebarView.section === "providers"} to="/agents/settings/providers" - replace state={location.state} adminOnly /> @@ -981,7 +979,6 @@ export const AgentsSidebar: FC = (props) => { label="Models" active={sidebarView.section === "models"} to="/agents/settings/models" - replace state={location.state} adminOnly /> @@ -990,7 +987,6 @@ export const AgentsSidebar: FC = (props) => { label="Limits" active={sidebarView.section === "limits"} to="/agents/settings/limits" - replace state={location.state} adminOnly /> @@ -999,7 +995,6 @@ export const AgentsSidebar: FC = (props) => { label="Usage" active={sidebarView.section === "usage"} to="/agents/settings/usage" - replace state={location.state} adminOnly /> @@ -1008,7 +1003,6 @@ export const AgentsSidebar: FC = (props) => { label="Analytics" active={sidebarView.section === "insights"} to="/agents/settings/insights" - replace state={location.state} adminOnly />{" "}