From 9f77bb99f146df0b5d2bccf034d2a5ffdf8e4d6b Mon Sep 17 00:00:00 2001 From: Richard Palethorpe Date: Wed, 2 Apr 2025 07:43:48 +0100 Subject: [PATCH] fix(ui): Various fixes --- webui/react-ui/src/App.jsx | 6 ------ webui/react-ui/src/pages/ImportAgent.jsx | 4 ++-- webui/react-ui/src/utils/api.js | 1 - 3 files changed, 2 insertions(+), 9 deletions(-) diff --git a/webui/react-ui/src/App.jsx b/webui/react-ui/src/App.jsx index d0ee160..2aeb250 100644 --- a/webui/react-ui/src/App.jsx +++ b/webui/react-ui/src/App.jsx @@ -114,12 +114,6 @@ function App() { - {/* Footer */} - ) } diff --git a/webui/react-ui/src/pages/ImportAgent.jsx b/webui/react-ui/src/pages/ImportAgent.jsx index ea87b18..a117918 100644 --- a/webui/react-ui/src/pages/ImportAgent.jsx +++ b/webui/react-ui/src/pages/ImportAgent.jsx @@ -26,7 +26,7 @@ function ImportAgent() { const formData = new FormData(); formData.append('file', file); - await agentApi.importAgentConfig(formData); + await agentApi.importAgent(formData); showToast('Agent imported successfully', 'success'); navigate('/agents'); } catch (err) { @@ -58,7 +58,7 @@ function ImportAgent() {

Drop your agent file here

or

-