Skip to content

The open-source app everyone uses to manage agents at work

fix(ui): show success toast when saving agent configuration (#1931)

Evyatar Bluzer61eb952e9469
diff --git a/ui/src/pages/AgentDetail.tsx b/ui/src/pages/AgentDetail.tsx
index 8eedd91551..e5ad963764 100644
--- a/ui/src/pages/AgentDetail.tsx
+++ b/ui/src/pages/AgentDetail.tsx
@@ -1612,6 +1612,7 @@ function ConfigurationTab({
queryClient.invalidateQueries({ queryKey: queryKeys.agents.detail(agent.urlKey) });
queryClient.invalidateQueries({ queryKey: queryKeys.agents.configRevisions(agent.id) });
queryClient.invalidateQueries({ queryKey: queryKeys.agents.list(agent.companyId) });
+ pushToast({ title: "Agent saved", tone: "success" });
},
onError: (err) => {
setAwaitingRefreshAfterSave(false);