fix: tool update refresh
This commit is contained in:
@@ -115,10 +115,10 @@ const McpServiceModal = forwardRef<McpServiceModalRef, McpServiceModalProps>(({
|
||||
testConnection(res.tool_id || editVo?.id)
|
||||
.then(() => {
|
||||
handleClose();
|
||||
refresh()
|
||||
})
|
||||
.finally(() => {
|
||||
setLoading(false);
|
||||
refresh()
|
||||
})
|
||||
})
|
||||
.catch(() => {
|
||||
|
||||
Reference in New Issue
Block a user