### What problem does this PR solve?

Fix: Not able to add MCP Server
[#12394](https://github.com/infiniflow/ragflow/issues/12394)

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
chanx
2026-01-04 11:22:34 +08:00
committed by GitHub
parent f56bceb2a9
commit d39fa75d36

View File

@ -171,7 +171,7 @@ export function EditMcpDialog({
<Modal
title={id ? t('mcp.editMCP') : t('mcp.addMCP')}
open={true}
onOpenChange={hideModal}
onCancel={hideModal}
cancelText={t('common.cancel')}
okText={t('common.save')}
footer={