mirror of
https://github.com/siteboon/claudecodeui.git
synced 2025-12-09 02:29:38 +00:00
refactor: remove unnecessary project fetching in ToolsSettings component that introduced a bug in saving the settings
This commit is contained in:
@@ -285,9 +285,8 @@ function ToolsSettings({ isOpen, onClose, projects = [] }) {
|
||||
setProjectSortOrder('name');
|
||||
}
|
||||
|
||||
// Load MCP servers and projects from API
|
||||
// Load MCP servers from API
|
||||
await fetchMcpServers();
|
||||
await fetchAvailableProjects();
|
||||
} catch (error) {
|
||||
console.error('Error loading tool settings:', error);
|
||||
// Set defaults on error
|
||||
|
||||
Reference in New Issue
Block a user